You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2015/01/03 20:04:20 UTC
[2/2] hbase git commit: HBASE-12746 [1.0.0RC0] Distributed Log Replay
is on (HBASE-12577 was insufficient) (Jeffrey Zhong) Reapply after fixing up
an overcommit.
HBASE-12746 [1.0.0RC0] Distributed Log Replay is on (HBASE-12577 was insufficient) (Jeffrey Zhong)
Reapply after fixing up an overcommit.
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a32f485f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a32f485f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a32f485f
Branch: refs/heads/branch-1.0
Commit: a32f485fecbcf7e1aa7159ac2fa9851c1bf1ae48
Parents: d5f63f1
Author: stack <st...@apache.org>
Authored: Sat Jan 3 11:03:30 2015 -0800
Committer: stack <st...@apache.org>
Committed: Sat Jan 3 11:03:30 2015 -0800
----------------------------------------------------------------------
hbase-common/src/main/resources/hbase-default.xml | 11 ++++-------
.../apache/hadoop/hbase/master/TestSplitLogManager.java | 1 +
2 files changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/a32f485f/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 79d7430..04facc0 100644
--- a/hbase-common/src/main/resources/hbase-default.xml
+++ b/hbase-common/src/main/resources/hbase-default.xml
@@ -274,13 +274,10 @@ possible configurations would overwhelm and obscure the important.
</property>
<property>
<name>hbase.master.distributed.log.replay</name>
- <value>true</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.
+ <value>false</value>
+ <description>True to enable 'distributed log replay' as default engine splitting
+ WAL files on server crash. 'Disributed log replay' improves MTTR because it does not
+ write intermediate files.
</description>
</property>
<property>
http://git-wip-us.apache.org/repos/asf/hbase/blob/a32f485f/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestSplitLogManager.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestSplitLogManager.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestSplitLogManager.java
index f6a7953..80fb7bf 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestSplitLogManager.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestSplitLogManager.java
@@ -639,6 +639,7 @@ public class TestSplitLogManager {
SplitLogCounters.resetCounters();
Configuration testConf = HBaseConfiguration.create(TEST_UTIL.getConfiguration());
testConf.setBoolean(HConstants.DISTRIBUTED_LOG_REPLAY_KEY, true);
+ ds = new DummyServer(zkw, testConf);
zkw.getRecoverableZooKeeper().create(ZKSplitLog.getEncodedNodeName(zkw, "testRecovery"),
new SplitLogTask.Unassigned(