Package org.apache.hadoop.hbase.rsgroup
Class TestRSGroupsFallback
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
org.apache.hadoop.hbase.rsgroup.TestRSGroupsFallback
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
TestRSGroupsBase.CPMasterObserver
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final String
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
private void
assertRegionsInGroup
(org.apache.hadoop.hbase.TableName tableName, String group) void
private void
crashRsInGroup
(String groupName) static void
setUp()
static void
tearDown()
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
-
FALLBACK_GROUP
- See Also:
-
-
Constructor Details
-
TestRSGroupsFallback
public TestRSGroupsFallback()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
beforeMethod
- Throws:
Exception
-
afterMethod
- Throws:
Exception
-
testFallback
- Throws:
Exception
-
assertRegionsInGroup
private void assertRegionsInGroup(org.apache.hadoop.hbase.TableName tableName, String group) throws IOException - Throws:
IOException
-
crashRsInGroup
- Throws:
Exception
-