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, tearDownAfterMethod
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
public static final HBaseClassTestRule CLASS_RULE
private final byte[] familyNameBytes
public TestTableDescriptorWithRSGroup()
public void beforeMethod() throws Exception
Exception
public void afterMethod() throws Exception
Exception
public void testCreateTableInTableDescriptorSpecificRSGroup() throws Exception
Exception
private void createTableWithRSGroupDetail(String newGroup) throws Exception
Exception
public void testMoveTablesShouldUpdateTableDescriptor() throws Exception
Exception
public void testMoveServersAndTablesShouldUpdateTableDescriptor() throws Exception
Exception
public void testRenameRSGroupUpdatesTableDescriptor() throws Exception
Exception
public void testCloneSnapshotWithRSGroup() throws Exception
Exception
public void testMoveTablesWhenModifyTableWithNewRSGroup() throws Exception
Exception
public void testTableShouldNotAddedIntoRSGroup_WhenModifyTableFails() throws Exception
Exception
public void testTableShouldNotAddedIntoRSGroup_WhenTableCreationFails() throws Exception
Exception
public void testSystemTablesCanBeMovedToNewRSGroupByModifyingTable() throws Exception
Exception
public void testUpdateTableDescriptorOnlyIfRSGroupInfoWasStoredInTableDescriptor() throws Exception
Exception
public void testModifyAndMoveTableScenario() throws Exception
Exception
private void createTable(org.apache.hadoop.hbase.TableName tName, String rsGroupName) throws Exception
Exception
private byte[][] getSpitKeys(int numRegions) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.