public class TestMasterBalanceThrottling extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILYNAME |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestMasterBalanceThrottling() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.TableName |
createTable(String table) |
void |
setupConfiguration() |
void |
shutdown() |
private Thread |
startBalancerChecker(org.apache.hadoop.hbase.master.HMaster master,
AtomicInteger maxCount,
AtomicBoolean stop) |
void |
testThrottlingByBalanceInterval() |
void |
testThrottlingByMaxRitPercent() |
private void |
unbalance(org.apache.hadoop.hbase.master.HMaster master,
org.apache.hadoop.hbase.TableName tableName) |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final byte[] FAMILYNAME
public TestMasterBalanceThrottling()
public void setupConfiguration()
public void testThrottlingByBalanceInterval() throws Exception
Exception
public void testThrottlingByMaxRitPercent() throws Exception
Exception
private org.apache.hadoop.hbase.TableName createTable(String table) throws IOException
IOException
private Thread startBalancerChecker(org.apache.hadoop.hbase.master.HMaster master, AtomicInteger maxCount, AtomicBoolean stop)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.