Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B82A11BA2 for ; Fri, 20 Jun 2014 16:53:26 +0000 (UTC) Received: (qmail 80747 invoked by uid 500); 20 Jun 2014 16:53:25 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 80709 invoked by uid 500); 20 Jun 2014 16:53:25 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 80548 invoked by uid 99); 20 Jun 2014 16:53:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2014 16:53:25 +0000 Date: Fri, 20 Jun 2014 16:53:25 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2932) Increased control over write durability MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039020#comment-14039020 ] Josh Elser commented on ACCUMULO-2932: -------------------------------------- bq. It would be preferable to prevent tablets that have different durability configurations from using the same WAL. Presuming that the user configuring things tunes down durability on some table because they need the performance gain. This would be much easier if a tablet could use multiple WALs (ACCUMULO-1083), but that's a difficult problem in itself. Specifying the explicit file name log in each tablet row does make this easier to track, but it's not required to do what it outlined here. bq. Should we really always sync the WALs involved in accumulo.metadata? I can see defaulting to it or even requiring that changing it be done at the table level (presuming we still ahve some system-wide default used for tables). But what if the user has stable backup power and isn't worried about other sources of sudden machine loss? Sure, that's a valid point. > Increased control over write durability > --------------------------------------- > > Key: ACCUMULO-2932 > URL: https://issues.apache.org/jira/browse/ACCUMULO-2932 > Project: Accumulo > Issue Type: Improvement > Components: tserver > Reporter: Josh Elser > > ACCUMULO-2842 introduced the ability to configure the HDFS method that is use to sync WALs. This was mainly done as a means to investigate the performance characteristic of hflush and hsync. As such, it was was trivially done system-wide. > However, there is also practical application to allowing this configuration, in addition to some internal concerns. > # We should *always* sync WALs involved in {{accumulo.metadata}} > # Data loss may be acceptable on some user tables and not on others (we may want to use hflush for some tables, hsync for other). The option must have the granularity to specify at least on the table (if not locality group). > When multiple tablets are using a WAL with differing durability guarantees, we should choose the higher durability. > If we compare this to HBase, we could also implement it on the per Mutation level, however that's beyond the scope here. -- This message was sent by Atlassian JIRA (v6.2#6252)