public class TestAsyncTableAdminApi extends TestAsyncAdminBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
Constructor and Description |
---|
TestAsyncTableAdminApi() |
Modifier and Type | Method and Description |
---|---|
(package private) static org.apache.hadoop.hbase.client.TableState.State |
getStateFromMeta(org.apache.hadoop.hbase.TableName table) |
void |
testCloneTableSchema() |
private void |
testCloneTableSchema(org.apache.hadoop.hbase.TableName tableName,
org.apache.hadoop.hbase.TableName newTableName,
boolean preserveSplits) |
void |
testCloneTableSchemaPreservingSplits() |
void |
testCloneTableSchemaWithExistentDestinationTable() |
void |
testCloneTableSchemaWithNonExistentSourceTable() |
void |
testCreateTable() |
void |
testCreateTableNumberOfRegions() |
void |
testCreateTableWithEmptyRowInTheSplitKeys() |
void |
testCreateTableWithOnlyEmptyStartRow() |
void |
testCreateTableWithRegions() |
void |
testDeleteTable() |
void |
testIsTableAvailableWithInexistantTable() |
void |
testTruncateTable() |
private void |
testTruncateTable(org.apache.hadoop.hbase.TableName tableName,
boolean preserveSplits) |
void |
testTruncateTablePreservingSplits() |
private void |
verifyRoundRobinDistribution(List<org.apache.hadoop.hbase.HRegionLocation> regions,
int expectedRegions) |
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, setUpBeforeClass, tearDown, tearDownAfterClass
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
public static final HBaseClassTestRule CLASS_RULE
public TestAsyncTableAdminApi()
public void testCreateTable() throws Exception
Exception
static org.apache.hadoop.hbase.client.TableState.State getStateFromMeta(org.apache.hadoop.hbase.TableName table) throws Exception
Exception
public void testCreateTableNumberOfRegions() throws Exception
Exception
public void testCreateTableWithRegions() throws Exception
Exception
private void verifyRoundRobinDistribution(List<org.apache.hadoop.hbase.HRegionLocation> regions, int expectedRegions)
public void testCreateTableWithOnlyEmptyStartRow() throws Exception
Exception
public void testCreateTableWithEmptyRowInTheSplitKeys() throws Exception
Exception
public void testDeleteTable() throws Exception
Exception
public void testTruncateTable() throws Exception
Exception
public void testTruncateTablePreservingSplits() throws Exception
Exception
private void testTruncateTable(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) throws Exception
Exception
public void testCloneTableSchema() throws Exception
Exception
public void testCloneTableSchemaPreservingSplits() throws Exception
Exception
private void testCloneTableSchema(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) throws Exception
Exception
public void testCloneTableSchemaWithNonExistentSourceTable() throws Exception
Exception
public void testCloneTableSchemaWithExistentDestinationTable() throws Exception
Exception
public void testIsTableAvailableWithInexistantTable() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.