Package org.apache.hadoop.hbase.rsgroup
Class TestRSGroupsBalance
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
org.apache.hadoop.hbase.rsgroup.TestRSGroupsBalance
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
TestRSGroupsBase.CPMasterObserver -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprotected static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
admin, cluster, groupPrefix, INIT, master, name, NUM_DEAD_SERVERS, NUM_SLAVES_BASE, observer, rand, rsGroupAdmin, rsGroupAdminEndpoint, tableName, tablePrefix, TEST_UTIL, WAIT_TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstatic voidsetUp()private org.apache.hadoop.hbase.ServerNamesetupBalanceTest(String newGroupName, org.apache.hadoop.hbase.TableName tableName) static voidtearDown()voidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
addGroup, deleteGroups, deleteNamespaceIfNecessary, deleteTableIfNecessary, getGroupName, getNumServers, getServerName, getTableRegionMap, getTableServerRegionMap, initialize, removeGroup, setUpBeforeMethod, setUpTestBeforeClass, tearDownAfterClass, tearDownAfterMethodMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestRSGroupsBalance
public TestRSGroupsBalance()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
beforeMethod
- Throws:
Exception
-
afterMethod
- Throws:
Exception
-
testGroupBalance
- Throws:
Exception
-
testGroupDryRunBalance
- Throws:
Exception
-
setupBalanceTest
private org.apache.hadoop.hbase.ServerName setupBalanceTest(String newGroupName, org.apache.hadoop.hbase.TableName tableName) throws Exception - Throws:
Exception
-
testMisplacedRegions
- Throws:
Exception
-
testGetRSGroupAssignmentsByTable
- Throws:
Exception
-