public class TestTableDescriptorWithRSGroup extends TestRSGroupsBase
TestRSGroupsBase.CPMasterObserver| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private byte[] |
familyNameBytes |
admin, cluster, groupPrefix, INIT, LOG, master, name, NUM_DEAD_SERVERS, NUM_SLAVES_BASE, observer, rand, rsGroupAdmin, rsGroupAdminEndpoint, tableName, tablePrefix, TEST_UTIL, WAIT_TIMEOUT| Constructor and Description |
|---|
TestTableDescriptorWithRSGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterMethod() |
void |
beforeMethod() |
private void |
createTable(org.apache.hadoop.hbase.TableName tName,
String rsGroupName) |
private void |
createTableWithRSGroupDetail(String newGroup) |
private byte[][] |
getSpitKeys(int numRegions) |
static void |
setUp() |
static void |
tearDown() |
void |
testCloneSnapshotWithRSGroup() |
void |
testCreateTableInTableDescriptorSpecificRSGroup() |
void |
testModifyAndMoveTableScenario() |
void |
testMoveServersAndTablesShouldUpdateTableDescriptor() |
void |
testMoveTablesShouldUpdateTableDescriptor() |
void |
testMoveTablesWhenModifyTableWithNewRSGroup() |
void |
testRenameRSGroupUpdatesTableDescriptor() |
void |
testSystemTablesCanBeMovedToNewRSGroupByModifyingTable() |
void |
testTableShouldNotAddedIntoRSGroup_WhenModifyTableFails() |
void |
testTableShouldNotAddedIntoRSGroup_WhenTableCreationFails() |
void |
testUpdateTableDescriptorOnlyIfRSGroupInfoWasStoredInTableDescriptor() |
addGroup, deleteGroups, deleteNamespaceIfNecessary, deleteTableIfNecessary, getGroupName, getNumServers, getServerName, getTableRegionMap, getTableServerRegionMap, initialize, removeGroup, setUpBeforeMethod, setUpTestBeforeClass, tearDownAfterClass, tearDownAfterMethodaddResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFilespublic static final HBaseClassTestRule CLASS_RULE
private final byte[] familyNameBytes
public TestTableDescriptorWithRSGroup()
public void beforeMethod() throws Exception
Exceptionpublic void afterMethod() throws Exception
Exceptionpublic void testCreateTableInTableDescriptorSpecificRSGroup() throws Exception
Exceptionprivate void createTableWithRSGroupDetail(String newGroup) throws Exception
Exceptionpublic void testMoveTablesShouldUpdateTableDescriptor() throws Exception
Exceptionpublic void testMoveServersAndTablesShouldUpdateTableDescriptor() throws Exception
Exceptionpublic void testRenameRSGroupUpdatesTableDescriptor() throws Exception
Exceptionpublic void testCloneSnapshotWithRSGroup() throws Exception
Exceptionpublic void testMoveTablesWhenModifyTableWithNewRSGroup() throws Exception
Exceptionpublic void testTableShouldNotAddedIntoRSGroup_WhenModifyTableFails() throws Exception
Exceptionpublic void testTableShouldNotAddedIntoRSGroup_WhenTableCreationFails() throws Exception
Exceptionpublic void testSystemTablesCanBeMovedToNewRSGroupByModifyingTable() throws Exception
Exceptionpublic void testUpdateTableDescriptorOnlyIfRSGroupInfoWasStoredInTableDescriptor() throws Exception
Exceptionpublic void testModifyAndMoveTableScenario() throws Exception
Exceptionprivate void createTable(org.apache.hadoop.hbase.TableName tName, String rsGroupName) throws Exception
Exceptionprivate byte[][] getSpitKeys(int numRegions) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.