Package org.apache.hadoop.hbase.client
Class TestAsyncTableAdminApi
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.client.TestAsyncAdminBase
org.apache.hadoop.hbase.client.TestAsyncTableAdminApi
Class to test asynchronous table admin operations.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static org.apache.hadoop.hbase.client.TableState.State
getStateFromMeta
(org.apache.hadoop.hbase.TableName table) void
private void
testCloneTableSchema
(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) void
void
void
void
void
void
void
void
void
void
void
private void
testTruncateTable
(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) void
private void
verifyRoundRobinDistribution
(List<org.apache.hadoop.hbase.HRegionLocation> regions, int expectedRegions) Methods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, setUpBeforeClass, tearDown, tearDownAfterClass
Methods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestAsyncTableAdminApi
public TestAsyncTableAdminApi()
-
-
Method Details
-
testCreateTable
- Throws:
Exception
-
getStateFromMeta
static org.apache.hadoop.hbase.client.TableState.State getStateFromMeta(org.apache.hadoop.hbase.TableName table) throws Exception - Throws:
Exception
-
testCreateTableNumberOfRegions
- Throws:
Exception
-
testCreateTableWithRegions
- Throws:
Exception
-
verifyRoundRobinDistribution
private void verifyRoundRobinDistribution(List<org.apache.hadoop.hbase.HRegionLocation> regions, int expectedRegions) -
testCreateTableWithOnlyEmptyStartRow
- Throws:
Exception
-
testCreateTableWithEmptyRowInTheSplitKeys
- Throws:
Exception
-
testDeleteTable
- Throws:
Exception
-
testTruncateTable
- Throws:
Exception
-
testTruncateTablePreservingSplits
- Throws:
Exception
-
testTruncateTable
private void testTruncateTable(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) throws Exception - Throws:
Exception
-
testCloneTableSchema
- Throws:
Exception
-
testCloneTableSchemaPreservingSplits
- Throws:
Exception
-
testCloneTableSchema
private void testCloneTableSchema(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) throws Exception - Throws:
Exception
-
testCloneTableSchemaWithNonExistentSourceTable
- Throws:
Exception
-
testCloneTableSchemaWithExistentDestinationTable
- Throws:
Exception
-
testIsTableAvailableWithInexistantTable
- Throws:
Exception
-