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, tearDownAfterClasspublic static final HBaseClassTestRule CLASS_RULE
public TestAsyncTableAdminApi()
public void testCreateTable() throws Exception
Exceptionstatic org.apache.hadoop.hbase.client.TableState.State getStateFromMeta(org.apache.hadoop.hbase.TableName table) throws Exception
Exceptionpublic void testCreateTableNumberOfRegions() throws Exception
Exceptionpublic void testCreateTableWithRegions() throws Exception
Exceptionprivate void verifyRoundRobinDistribution(List<org.apache.hadoop.hbase.HRegionLocation> regions, int expectedRegions)
public void testCreateTableWithOnlyEmptyStartRow() throws Exception
Exceptionpublic void testCreateTableWithEmptyRowInTheSplitKeys() throws Exception
Exceptionpublic void testDeleteTable() throws Exception
Exceptionpublic void testTruncateTable() throws Exception
Exceptionpublic void testTruncateTablePreservingSplits() throws Exception
Exceptionprivate void testTruncateTable(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) throws Exception
Exceptionpublic void testCloneTableSchema() throws Exception
Exceptionpublic void testCloneTableSchemaPreservingSplits() throws Exception
Exceptionprivate void testCloneTableSchema(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) throws Exception
Exceptionpublic void testCloneTableSchemaWithNonExistentSourceTable() throws Exception
Exceptionpublic void testCloneTableSchemaWithExistentDestinationTable() throws Exception
Exceptionpublic void testIsTableAvailableWithInexistantTable() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.