You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2015/04/29 01:32:30 UTC
hbase git commit: HBASE-13584 Disable distributed log replay by
default for 1.1
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 <nd...@apache.org>
Authored: Tue Apr 28 14:07:48 2015 -0700
Committer: Nick Dimiduk <nd...@apache.org>
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.
</property>
<property>
<name>hbase.master.distributed.log.replay</name>
- <value>true</value>
+ <value>false</value>
<description>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.
</description>
</property>
<property>