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
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
protected static final org.slf4j.Logger
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
static void
setUp()
private org.apache.hadoop.hbase.ServerName
setupBalanceTest
(String newGroupName, org.apache.hadoop.hbase.TableName tableName) static void
tearDown()
void
void
void
void
Methods inherited from class org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
addGroup, deleteGroups, deleteNamespaceIfNecessary, deleteTableIfNecessary, getGroupName, getNumServers, getServerName, getTableRegionMap, getTableServerRegionMap, initialize, removeGroup, setUpBeforeMethod, setUpTestBeforeClass, tearDownAfterClass, tearDownAfterMethod
Methods 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
-