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
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprivate voidcreateTable(org.apache.hadoop.hbase.TableName tName, String rsGroupName) private voidcreateTableWithRSGroupDetail(String newGroup) private byte[][]getSpitKeys(int numRegions) static voidsetUp()static voidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.rsgroup.TestRSGroupsBase
addGroup, deleteGroups, deleteNamespaceIfNecessary, deleteTableIfNecessary, getGroupName, getNumServers, getServerName, getTableRegionMap, getTableServerRegionMap, initialize, removeGroup, setUpBeforeMethod, setUpTestBeforeClass, tearDownAfterClass, tearDownAfterMethodMethods 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
-