Package org.apache.hadoop.hbase.client
Class TestAsyncReplicationAdminApiWithClusters
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.client.TestAsyncAdminBase
org.apache.hadoop.hbase.client.TestAsyncReplicationAdminApiWithClusters
Class to test asynchronous replication admin operations when more than 1 cluster
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.AsyncAdmin
static final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.hbase.client.AsyncConnection
private static final String
private static HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
cleanupTables
(org.apache.hadoop.hbase.client.AsyncAdmin admin, Pattern pattern) static void
clearUp()
private void
createTableWithDefaultConf
(org.apache.hadoop.hbase.client.AsyncAdmin admin, org.apache.hadoop.hbase.TableName tableName) static void
void
tearDown()
void
void
void
void
void
void
void
void
Methods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, tearDownAfterClass
Methods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Field Details
-
CLASS_RULE
-
ID_SECOND
- See Also:
-
TEST_UTIL2
-
conf2
-
admin2
-
connection
-
-
Constructor Details
-
TestAsyncReplicationAdminApiWithClusters
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
clearUp
- Throws:
IOException
-
tearDown
- Overrides:
tearDown
in classTestAsyncAdminBase
- Throws:
Exception
-
cleanupTables
-
createTableWithDefaultConf
private void createTableWithDefaultConf(org.apache.hadoop.hbase.client.AsyncAdmin admin, org.apache.hadoop.hbase.TableName tableName) -
testEnableAndDisableTableReplication
- Throws:
Exception
-
testEnableReplicationWhenSlaveClusterDoesntHaveTable
- Throws:
Exception
-
testEnableReplicationWhenTableDescriptorIsNotSameInClusters
- Throws:
Exception
-
testDisableReplicationForNonExistingTable
- Throws:
Exception
-
testEnableReplicationForNonExistingTable
- Throws:
Exception
-
testDisableReplicationWhenTableNameAsNull
- Throws:
Exception
-
testEnableReplicationWhenTableNameAsNull
- Throws:
Exception
-
testEnableReplicationForExplicitSetTableCfs
- Throws:
Exception
-