public class TestRSGroupsFallback extends TestRSGroupsBase
TestRSGroupsBase.CPMasterObserver
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static String |
FALLBACK_GROUP |
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 |
---|
TestRSGroupsFallback() |
Modifier and Type | Method and Description |
---|---|
void |
afterMethod() |
private void |
assertRegionsInGroup(org.apache.hadoop.hbase.TableName tableName,
String group) |
void |
beforeMethod() |
private void |
crashRsInGroup(String groupName) |
static void |
setUp() |
static void |
tearDown() |
void |
testFallback() |
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
private static final String FALLBACK_GROUP
public TestRSGroupsFallback()
public void beforeMethod() throws Exception
Exception
public void afterMethod() throws Exception
Exception
public void testFallback() throws Exception
Exception
private void assertRegionsInGroup(org.apache.hadoop.hbase.TableName tableName, String group) throws IOException
IOException
private void crashRsInGroup(String groupName) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.