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, GROUP_PREFIX, INIT, MASTER, name, NUM_DEAD_SERVERS, NUM_SLAVES_BASE, OBSERVER, TABLE_PREFIX, tableName, TEST_UTIL, WAIT_TIMEOUT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
assertRegionsInGroup
(org.apache.hadoop.hbase.TableName table, 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, getNameWithoutIndex, getNumServers, getServerName, getTableRegionMap, getTableServerRegionMap, initialize, removeGroup, setUpBeforeMethod, setUpTestBeforeClass, tearDownAfterClass, tearDownAfterMethod, toggleQuotaCheckAndRestartMiniCluster
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 table, String group) throws IOException - Throws:
IOException
-
crashRsInGroup
- Throws:
Exception
-