HBASE-26455 TestStochasticLoadBalancerRegionReplicaWithRacks fails consistently (#3879)
Signed-off-by: Xiaolin Ha <haxiaolin@apache.org> Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
This commit is contained in:
parent
9fd58fecf0
commit
33287ac502
|
@ -77,9 +77,9 @@ public class TestStochasticLoadBalancerRegionReplicaWithRacks extends Stochastic
|
|||
|
||||
@Test
|
||||
public void testRegionReplicationOnLargeClusterWithRacks() {
|
||||
conf.setBoolean("hbase.master.balancer.stochastic.runMaxSteps", false);
|
||||
conf.setLong(StochasticLoadBalancer.MAX_STEPS_KEY, 5000L);
|
||||
conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 10 * 1000); // 10 sec
|
||||
conf.setBoolean("hbase.master.balancer.stochastic.runMaxSteps", true);
|
||||
conf.setLong(StochasticLoadBalancer.MAX_STEPS_KEY, 100000000L);
|
||||
conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 120 * 1000); // 10 sec
|
||||
loadBalancer.onConfigurationChange(conf);
|
||||
int numNodes = 100;
|
||||
int numRegions = numNodes * 30;
|
||||
|
|
Loading…
Reference in New Issue