HBASE-16462 TestRSGroupsBas#testGroupBalance may hang due to uneven region distribution (Guangxu Cheng)

This commit is contained in:
tedyu 2016-08-24 21:55:37 -07:00
parent a1f760ff76
commit 44c9021d67
1 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,8 @@ public class TestRSGroups extends TestRSGroupsBase {
@BeforeClass
public static void setUp() throws Exception {
TEST_UTIL = new HBaseTestingUtility();
TEST_UTIL.getConfiguration().setFloat(
"hbase.master.balancer.stochastic.tableSkewCost", 6000);
TEST_UTIL.getConfiguration().set(
HConstants.HBASE_MASTER_LOADBALANCER_CLASS,
RSGroupBasedLoadBalancer.class.getName());