public abstract class TestAsyncAdminBase extends AbstractTestUpdateConfiguration
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.hbase.client.AsyncAdmin |
admin |
protected static org.apache.hadoop.hbase.client.AsyncConnection |
ASYNC_CONN |
protected static byte[] |
FAMILY |
protected static byte[] |
FAMILY_0 |
protected static byte[] |
FAMILY_1 |
Supplier<org.apache.hadoop.hbase.client.AsyncAdmin> |
getAdmin |
protected static org.slf4j.Logger |
LOG |
protected org.apache.hadoop.hbase.TableName |
tableName |
protected static HBaseTestingUtility |
TEST_UTIL |
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
TestAsyncAdminBase() |
Modifier and Type | Method and Description |
---|---|
protected 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 |
getAsyncAdmin() |
private static org.apache.hadoop.hbase.client.AsyncAdmin |
getRawAsyncAdmin() |
static List<Object[]> |
params() |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
protected static final org.slf4j.Logger LOG
protected static final HBaseTestingUtility TEST_UTIL
protected static final byte[] FAMILY
protected static final byte[] FAMILY_0
protected static final byte[] FAMILY_1
protected static org.apache.hadoop.hbase.client.AsyncConnection ASYNC_CONN
protected org.apache.hadoop.hbase.client.AsyncAdmin admin
public org.junit.rules.TestName testName
protected org.apache.hadoop.hbase.TableName tableName
public TestAsyncAdminBase()
private static org.apache.hadoop.hbase.client.AsyncAdmin getRawAsyncAdmin()
private static org.apache.hadoop.hbase.client.AsyncAdmin getAsyncAdmin()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, int regionReplication) throws IOException
IOException
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys) throws IOException
IOException
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, int regionReplication, byte[][] splitKeys) throws IOException
IOException
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, byte[][] splitKeys, byte[]... families) throws IOException
IOException
protected void createTableWithDefaultConf(org.apache.hadoop.hbase.TableName tableName, int regionReplication, byte[][] splitKeys, byte[]... families) throws IOException
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.