Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C545B106C6 for ; Tue, 28 Apr 2015 23:32:30 +0000 (UTC) Received: (qmail 20234 invoked by uid 500); 28 Apr 2015 23:32:30 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 20194 invoked by uid 500); 28 Apr 2015 23:32:30 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 20185 invoked by uid 99); 28 Apr 2015 23:32:30 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Apr 2015 23:32:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3655BE0913; Tue, 28 Apr 2015 23:32:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ndimiduk@apache.org To: commits@hbase.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-13584 Disable distributed log replay by default for 1.1 Date: Tue, 28 Apr 2015 23:32:30 +0000 (UTC) Repository: hbase Updated Branches: refs/heads/branch-1.1 3fba9de03 -> 76bb8750b HBASE-13584 Disable distributed log replay by default for 1.1 Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/76bb8750 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/76bb8750 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/76bb8750 Branch: refs/heads/branch-1.1 Commit: 76bb8750b41310a9fa7370af741ea1214f544c4b Parents: 3fba9de Author: Nick Dimiduk Authored: Tue Apr 28 14:07:48 2015 -0700 Committer: Nick Dimiduk Committed: Tue Apr 28 14:07:48 2015 -0700 ---------------------------------------------------------------------- .../main/java/org/apache/hadoop/hbase/HConstants.java | 4 +--- hbase-common/src/main/resources/hbase-default.xml | 11 +++++------ 2 files changed, 6 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/76bb8750/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java ---------------------------------------------------------------------- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java index 2ec2eff..7438171 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java @@ -869,10 +869,8 @@ public final class HConstants { /** Conf key that enables unflushed WAL edits directly being replayed to region servers */ public static final String DISTRIBUTED_LOG_REPLAY_KEY = "hbase.master.distributed.log.replay"; - /** - * Default 'distributed log replay' as true since hbase 1.1 (HBASE-12577) - */ public static final boolean DEFAULT_DISTRIBUTED_LOG_REPLAY_CONFIG = false; + public static final String DISALLOW_WRITES_IN_RECOVERING = "hbase.regionserver.disallow.writes.when.recovering"; public static final boolean DEFAULT_DISALLOW_WRITES_IN_RECOVERING_CONFIG = false; http://git-wip-us.apache.org/repos/asf/hbase/blob/76bb8750/hbase-common/src/main/resources/hbase-default.xml ---------------------------------------------------------------------- diff --git a/hbase-common/src/main/resources/hbase-default.xml b/hbase-common/src/main/resources/hbase-default.xml index 86a5104..69b1f8b 100644 --- a/hbase-common/src/main/resources/hbase-default.xml +++ b/hbase-common/src/main/resources/hbase-default.xml @@ -271,13 +271,12 @@ possible configurations would overwhelm and obscure the important. hbase.master.distributed.log.replay - true + false Enable 'distributed log replay' as default engine splitting - WAL files on server crash. This default is new in hbase 1.0. To fall - back to the old mode 'distributed log splitter', set the value to - 'false'. 'Disributed log replay' improves MTTR because it does not - write intermediate files. 'DLR' required that 'hfile.format.version' - be set to version 3 or higher. + WAL files on server crash. Turn this to true to try out this experimental + feature, replacing the old mode 'distributed log splitter'. 'Distributed + log replay' improves MTTR because it does not write intermediate files. + 'DLR' required that 'hfile.format.version' be set to version 3 or higher.