hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-14592 BatchRestartRsAction always restarts 0 RS when running SlowDeterministicMonkey (Yu Li)
Date Mon, 12 Oct 2015 21:52:21 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 f4df43edc -> 9201e0d07


HBASE-14592 BatchRestartRsAction always restarts 0 RS when running SlowDeterministicMonkey
(Yu Li)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9201e0d0
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9201e0d0
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9201e0d0

Branch: refs/heads/branch-1.2
Commit: 9201e0d07f7c61fa21dd57bc50b899e4f0deeb40
Parents: f4df43e
Author: tedyu <yuzhihong@gmail.com>
Authored: Mon Oct 12 14:52:21 2015 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Mon Oct 12 14:52:21 2015 -0700

----------------------------------------------------------------------
 .../hbase/chaos/factories/SlowDeterministicMonkeyFactory.java     | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/9201e0d0/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/SlowDeterministicMonkeyFactory.java
----------------------------------------------------------------------
diff --git a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/SlowDeterministicMonkeyFactory.java
b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/SlowDeterministicMonkeyFactory.java
index 7aa4a07..093df2a 100644
--- a/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/SlowDeterministicMonkeyFactory.java
+++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/chaos/factories/SlowDeterministicMonkeyFactory.java
@@ -134,6 +134,9 @@ public class SlowDeterministicMonkeyFactory extends MonkeyFactory {
       batchRestartRSSleepTime = Long.parseLong(this.properties.getProperty(
         MonkeyConstants.BATCH_RESTART_RS_SLEEP_TIME,
         MonkeyConstants.DEFAULT_BATCH_RESTART_RS_SLEEP_TIME + ""));
+      batchRestartRSRatio = Float.parseFloat(this.properties.getProperty(
+        MonkeyConstants.BATCH_RESTART_RS_RATIO,
+        MonkeyConstants.DEFAULT_BATCH_RESTART_RS_RATIO + ""));
       restartActiveMasterSleepTime = Long.parseLong(this.properties.getProperty(
         MonkeyConstants.RESTART_ACTIVE_MASTER_SLEEP_TIME,
         MonkeyConstants.DEFAULT_RESTART_ACTIVE_MASTER_SLEEP_TIME + ""));


Mime
View raw message