Package org.apache.hadoop.hbase.rsgroup
Class TestTableDescriptorWithRSGroup
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
org.apache.hadoop.hbase.rsgroup.TestTableDescriptorWithRSGroup
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
TestRSGroupsBase.CPMasterObserver
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
admin, cluster, groupPrefix, INIT, LOG, 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
void
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
void
void
void
void
void
void
void
void
void
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
-
familyNameBytes
-
-
Constructor Details
-
TestTableDescriptorWithRSGroup
public TestTableDescriptorWithRSGroup()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
beforeMethod
- Throws:
Exception
-
afterMethod
- Throws:
Exception
-
testCreateTableInTableDescriptorSpecificRSGroup
- Throws:
Exception
-
createTableWithRSGroupDetail
- Throws:
Exception
-
testMoveTablesShouldUpdateTableDescriptor
- Throws:
Exception
-
testMoveServersAndTablesShouldUpdateTableDescriptor
- Throws:
Exception
-
testRenameRSGroupUpdatesTableDescriptor
- Throws:
Exception
-
testCloneSnapshotWithRSGroup
- Throws:
Exception
-
testMoveTablesWhenModifyTableWithNewRSGroup
- Throws:
Exception
-
testTableShouldNotAddedIntoRSGroup_WhenModifyTableFails
- Throws:
Exception
-
testTableShouldNotAddedIntoRSGroup_WhenTableCreationFails
- Throws:
Exception
-
testSystemTablesCanBeMovedToNewRSGroupByModifyingTable
- Throws:
Exception
-
testUpdateTableDescriptorOnlyIfRSGroupInfoWasStoredInTableDescriptor
- Throws:
Exception
-
testModifyAndMoveTableScenario
- Throws:
Exception
-
createTable
private void createTable(org.apache.hadoop.hbase.TableName tName, String rsGroupName) throws Exception - Throws:
Exception
-
getSpitKeys
- Throws:
IOException
-