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
Modifier and TypeFieldDescriptionprotected org.apache.hadoop.hbase.client.AsyncAdmin
protected static org.apache.hadoop.hbase.client.AsyncConnection
protected static final byte[]
protected static final byte[]
protected static final byte[]
Supplier<org.apache.hadoop.hbase.client.AsyncAdmin>
protected static final org.slf4j.Logger
protected org.apache.hadoop.hbase.TableName
protected static final HBaseTestingUtility
org.junit.rules.TestName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createTableWithDefaultConf
(org.apache.hadoop.hbase.TableName tableName) protected void
createTableWithDefaultConf
(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys) protected void
createTableWithDefaultConf
(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys, byte[]... families) protected void
createTableWithDefaultConf
(org.apache.hadoop.hbase.TableName tableName, int regionReplication) protected void
createTableWithDefaultConf
(org.apache.hadoop.hbase.TableName tableName, int regionReplication, byte[][] splitKeys) protected void
createTableWithDefaultConf
(org.apache.hadoop.hbase.TableName tableName, int regionReplication, byte[][] splitKeys, byte[]... families) private static org.apache.hadoop.hbase.client.AsyncAdmin
private static org.apache.hadoop.hbase.client.AsyncAdmin
params()
void
setUp()
static void
void
tearDown()
static void
Methods 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
-