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
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestAsyncTableAdminApi
extends TestAsyncAdminBase
Class to test asynchronous table admin operations.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
admin, ASYNC_CONN, FAMILY, FAMILY_0, FAMILY_1, getAdmin, LOG, tableName, TEST_UTIL -
Constructor Summary
ConstructorsConstructorDescriptionTestAsyncTableAdminApi(Supplier<org.apache.hadoop.hbase.client.AsyncAdmin> admin) -
Method Summary
Modifier and TypeMethodDescription(package private) static org.apache.hadoop.hbase.client.TableState.StategetStateFromMeta(org.apache.hadoop.hbase.TableName table) static voidstatic voidvoidprivate voidtestCloneTableSchema(org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.TableName newTableName, boolean preserveSplits) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprivate voidtestTruncateTable(org.apache.hadoop.hbase.TableName tableName, boolean preserveSplits) voidMethods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, parameters, setUp, tearDownMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Constructor Details
-
TestAsyncTableAdminApi
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
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
-
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
-