public class TestAsyncReplicationAdminApiWithClusters extends TestAsyncAdminBase
| Modifier and Type | Field and Description | 
|---|---|
private static org.apache.hadoop.hbase.client.AsyncAdmin | 
admin2  | 
static HBaseClassTestRule | 
CLASS_RULE  | 
private static org.apache.hadoop.conf.Configuration | 
conf2  | 
private static String | 
ID_SECOND  | 
private static HBaseTestingUtility | 
TEST_UTIL2  | 
| Constructor and Description | 
|---|
TestAsyncReplicationAdminApiWithClusters()  | 
| Modifier and Type | Method and Description | 
|---|---|
private void | 
cleanupTables(org.apache.hadoop.hbase.client.AsyncAdmin admin,
             Pattern pattern)  | 
private void | 
createTableWithDefaultConf(org.apache.hadoop.hbase.client.AsyncAdmin admin,
                          org.apache.hadoop.hbase.TableName tableName)  | 
static void | 
setUpBeforeClass()  | 
void | 
tearDown()  | 
void | 
testDisableReplicationForNonExistingTable()  | 
void | 
testDisableReplicationWhenTableNameAsNull()  | 
void | 
testEnableAndDisableTableReplication()  | 
void | 
testEnableReplicationForExplicitSetTableCfs()  | 
void | 
testEnableReplicationForNonExistingTable()  | 
void | 
testEnableReplicationWhenSlaveClusterDoesntHaveTable()  | 
void | 
testEnableReplicationWhenTableDescriptorIsNotSameInClusters()  | 
void | 
testEnableReplicationWhenTableNameAsNull()  | 
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, tearDownAfterClasspublic static final HBaseClassTestRule CLASS_RULE
private static final String ID_SECOND
private static HBaseTestingUtility TEST_UTIL2
private static org.apache.hadoop.conf.Configuration conf2
private static org.apache.hadoop.hbase.client.AsyncAdmin admin2
public TestAsyncReplicationAdminApiWithClusters()
public static void setUpBeforeClass() throws Exception
Exceptionpublic void tearDown() throws Exception
tearDown in class TestAsyncAdminBaseExceptionprivate void cleanupTables(org.apache.hadoop.hbase.client.AsyncAdmin admin, Pattern pattern)
private void createTableWithDefaultConf(org.apache.hadoop.hbase.client.AsyncAdmin admin, org.apache.hadoop.hbase.TableName tableName)
public void testEnableAndDisableTableReplication() throws Exception
Exceptionpublic void testEnableReplicationWhenSlaveClusterDoesntHaveTable() throws Exception
Exceptionpublic void testEnableReplicationWhenTableDescriptorIsNotSameInClusters() throws Exception
Exceptionpublic void testDisableReplicationForNonExistingTable() throws Exception
Exceptionpublic void testEnableReplicationForNonExistingTable() throws Exception
Exceptionpublic void testDisableReplicationWhenTableNameAsNull() throws Exception
Exceptionpublic void testEnableReplicationWhenTableNameAsNull() throws Exception
Exceptionpublic void testEnableReplicationForExplicitSetTableCfs() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.