You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2021/11/25 13:41:34 UTC
[hbase] branch master updated: HBASE-26455 TestStochasticLoadBalancerRegionReplicaWithRacks fails consistently (#3879)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 33287ac HBASE-26455 TestStochasticLoadBalancerRegionReplicaWithRacks fails consistently (#3879)
33287ac is described below
commit 33287ac50207bb67b0447f247e193b0a67904896
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Thu Nov 25 21:40:46 2021 +0800
HBASE-26455 TestStochasticLoadBalancerRegionReplicaWithRacks fails consistently (#3879)
Signed-off-by: Xiaolin Ha <ha...@apache.org>
Signed-off-by: GeorryHuang <hu...@apache.org>
---
.../balancer/TestStochasticLoadBalancerRegionReplicaWithRacks.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerRegionReplicaWithRacks.java b/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerRegionReplicaWithRacks.java
index 83384ee..eade1bf 100644
--- a/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerRegionReplicaWithRacks.java
+++ b/hbase-balancer/src/test/java/org/apache/hadoop/hbase/master/balancer/TestStochasticLoadBalancerRegionReplicaWithRacks.java
@@ -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;