HBASE-8880 Integration Tests shouldn't set the number or reties.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1501040 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
784e45548f
commit
26d5bcf418
|
@ -45,13 +45,11 @@ public class IntegrationTestDataIngestWithChaosMonkey extends IngestIntegrationT
|
|||
public void setUp() throws Exception {
|
||||
util= getTestingUtil(null);
|
||||
Configuration conf = util.getConfiguration();
|
||||
conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 25);
|
||||
if (conf.getBoolean(HConstants.DISTRIBUTED_LOG_REPLAY_KEY,
|
||||
HConstants.DEFAULT_DISTRIBUTED_LOG_REPLAY_CONFIG)) {
|
||||
// when distributedLogReplay is enabled, we need to make sure rpc timeout & retires are
|
||||
// smaller enough in order for the replay can complete before ChaosMonkey kills another region
|
||||
// server
|
||||
conf.setInt("hbase.regionserver.handler.count", 20);
|
||||
conf.setInt("hbase.log.replay.retries.number", 2);
|
||||
conf.setBoolean(HConstants.DISALLOW_WRITES_IN_RECOVERING, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue