public class TestRSGroupsBalance extends TestRSGroupsBase
TestRSGroupsBase.CPMasterObserver
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
protected static org.slf4j.Logger |
LOG |
admin, cluster, groupPrefix, INIT, master, name, NUM_DEAD_SERVERS, NUM_SLAVES_BASE, observer, rand, rsGroupAdmin, rsGroupAdminEndpoint, tableName, tablePrefix, TEST_UTIL, WAIT_TIMEOUT
Constructor and Description |
---|
TestRSGroupsBalance() |
Modifier and Type | Method and Description |
---|---|
void |
afterMethod() |
void |
beforeMethod() |
static void |
setUp() |
private org.apache.hadoop.hbase.ServerName |
setupBalanceTest(String newGroupName,
org.apache.hadoop.hbase.TableName tableName) |
static void |
tearDown() |
void |
testGetRSGroupAssignmentsByTable() |
void |
testGroupBalance() |
void |
testGroupDryRunBalance() |
void |
testMisplacedRegions() |
addGroup, deleteGroups, deleteNamespaceIfNecessary, deleteTableIfNecessary, getGroupName, getNumServers, getServerName, getTableRegionMap, getTableServerRegionMap, initialize, removeGroup, setUpBeforeMethod, setUpTestBeforeClass, tearDownAfterClass, tearDownAfterMethod
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
public static final HBaseClassTestRule CLASS_RULE
protected static final org.slf4j.Logger LOG
public TestRSGroupsBalance()
public void beforeMethod() throws Exception
Exception
public void afterMethod() throws Exception
Exception
public void testGroupBalance() throws Exception
Exception
public void testGroupDryRunBalance() throws Exception
Exception
private org.apache.hadoop.hbase.ServerName setupBalanceTest(String newGroupName, org.apache.hadoop.hbase.TableName tableName) throws Exception
Exception
public void testMisplacedRegions() throws Exception
Exception
public void testGetRSGroupAssignmentsByTable() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.