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

This commit is contained in:
tedyu 2015-10-12 14:48:27 -07:00
parent df9ff9f1e9
commit bfcec29dd1

View File

@ -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 + ""));