Package org.apache.hadoop.hbase.client
Class TestAsyncAdminBase
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.client.TestAsyncAdminBase
- Direct Known Subclasses:
TestAsyncAccessControlAdminApi,TestAsyncAdminMasterSwitch,TestAsyncAdminModifyStoreFileTracker,TestAsyncAdminWithRegionReplicas,TestAsyncClusterAdminApi,TestAsyncClusterAdminApi2,TestAsyncDecommissionAdminApi,TestAsyncNamespaceAdminApi,TestAsyncProcedureAdminApi,TestAsyncQuotaAdminApi,TestAsyncRegionAdminApi,TestAsyncRegionAdminApi2,TestAsyncReplicationAdminApi,TestAsyncReplicationAdminApiWithClusters,TestAsyncSnapshotAdminApi,TestAsyncTableAdminApi,TestAsyncTableAdminApi2,TestAsyncTableAdminApi3,TestAsyncToolAdminApi
Class to test AsyncAdmin.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.client.AsyncAdminprotected static org.apache.hadoop.hbase.client.AsyncConnectionprotected static final byte[]protected static final byte[]protected static final byte[]Supplier<org.apache.hadoop.hbase.client.AsyncAdmin>protected static final org.slf4j.Loggerprotected org.apache.hadoop.hbase.TableNameprotected static final HBaseTestingUtilityorg.junit.rules.TestName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName) protected voidcreateTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys) protected voidcreateTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys, byte[]... families) protected voidcreateTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, int regionReplication) protected voidcreateTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, int regionReplication, byte[][] splitKeys) protected voidcreateTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, int regionReplication, byte[][] splitKeys, byte[]... families) private static org.apache.hadoop.hbase.client.AsyncAdminprivate static org.apache.hadoop.hbase.client.AsyncAdminparams()voidsetUp()static voidvoidtearDown()static voidMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Field Details
-
LOG
-
TEST_UTIL
-
FAMILY
-
FAMILY_0
-
FAMILY_1
-
ASYNC_CONN
-
admin
-
getAdmin
-
testName
-
tableName
-
-
Constructor Details
-
TestAsyncAdminBase
public TestAsyncAdminBase()
-
-
Method Details
-
getRawAsyncAdmin
-
getAsyncAdmin
-
params
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
createTableWithDefaultConf
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName) throws IOException - Throws:
IOException
-
createTableWithDefaultConf
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, int regionReplication) throws IOException - Throws:
IOException
-
createTableWithDefaultConf
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys) throws IOException - Throws:
IOException
-
createTableWithDefaultConf
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, int regionReplication, byte[][] splitKeys) throws IOException - Throws:
IOException
-
createTableWithDefaultConf
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys, byte[]... families) throws IOException - Throws:
IOException
-
createTableWithDefaultConf
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, int regionReplication, byte[][] splitKeys, byte[]... families) throws IOException - Throws:
IOException
-