Package org.apache.hadoop.hbase.master
Class TestMasterBalanceThrottling
java.lang.Object
org.apache.hadoop.hbase.master.TestMasterBalanceThrottling
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.hbase.TableName
createTable
(String table) void
void
shutdown()
private Thread
startBalancerChecker
(org.apache.hadoop.hbase.master.HMaster master, AtomicInteger maxCount, AtomicBoolean stop) void
void
private void
unbalance
(org.apache.hadoop.hbase.master.HMaster master, org.apache.hadoop.hbase.TableName tableName)
-
Field Details
-
CLASS_RULE
-
TEST_UTIL
-
FAMILYNAME
-
-
Constructor Details
-
TestMasterBalanceThrottling
public TestMasterBalanceThrottling()
-
-
Method Details
-
setupConfiguration
-
shutdown
- Throws:
Exception
-
testThrottlingByBalanceInterval
- Throws:
Exception
-
testThrottlingByMaxRitPercent
- Throws:
Exception
-
createTable
- Throws:
IOException
-
startBalancerChecker
private Thread startBalancerChecker(org.apache.hadoop.hbase.master.HMaster master, AtomicInteger maxCount, AtomicBoolean stop) -
unbalance
private void unbalance(org.apache.hadoop.hbase.master.HMaster master, org.apache.hadoop.hbase.TableName tableName) throws Exception - Throws:
Exception
-