public class TestReplicationAdminWithClusters extends TestReplicationBase
| Modifier and Type | Class and Description |
|---|---|
static class |
TestReplicationAdminWithClusters.TestUpdatableReplicationEndpoint |
| Modifier and Type | Field and Description |
|---|---|
(package private) static org.apache.hadoop.hbase.client.Admin |
admin1 |
(package private) static org.apache.hadoop.hbase.client.Admin |
admin2 |
(package private) static org.apache.hadoop.hbase.client.replication.ReplicationAdmin |
adminExt |
static HBaseClassTestRule |
CLASS_RULE |
(package private) static org.apache.hadoop.hbase.client.Connection |
connection1 |
(package private) static org.apache.hadoop.hbase.client.Connection |
connection2 |
org.junit.rules.TestName |
name |
admin, CONF_WITH_LOCALFS, conf1, conf2, famName, hbaseAdmin, htable1, htable2, NB_RETRIES, NB_ROWS_IN_BATCH, NB_ROWS_IN_BIG_BATCH, noRepfamName, PEER_ID2, row, scopes, SLEEP_TIME, tableName, utility1, utility2, zkw1, zkw2| Constructor and Description |
|---|
TestReplicationAdminWithClusters() |
| Modifier and Type | Method and Description |
|---|---|
void |
disableNotFullReplication() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testDisableAndEnableReplication() |
void |
testDisableReplicationForNonExistingTable() |
void |
testDisableReplicationWhenTableNameAsNull() |
void |
testEnableReplicationForExplicitSetTableCfs() |
void |
testEnableReplicationForNonExistingTable() |
void |
testEnableReplicationForTableWithRegionReplica() |
void |
testEnableReplicationWhenReplicationNotEnabled() |
void |
testEnableReplicationWhenSlaveClusterDoesntHaveTable() |
void |
testEnableReplicationWhenTableDescriptorIsNotSameInClusters() |
void |
testEnableReplicationWhenTableNameAsNull() |
void |
testReplicationPeerConfigUpdateCallback() |
cleanUp, isSerialPeer, loadData, loadData, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, tearDownBase, waitForReplicationpublic static final HBaseClassTestRule CLASS_RULE
static org.apache.hadoop.hbase.client.Connection connection1
static org.apache.hadoop.hbase.client.Connection connection2
static org.apache.hadoop.hbase.client.Admin admin1
static org.apache.hadoop.hbase.client.Admin admin2
static org.apache.hadoop.hbase.client.replication.ReplicationAdmin adminExt
public org.junit.rules.TestName name
public TestReplicationAdminWithClusters()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void disableNotFullReplication() throws Exception
Exceptionpublic void testEnableReplicationWhenSlaveClusterDoesntHaveTable() throws Exception
Exceptionpublic void testEnableReplicationWhenReplicationNotEnabled() throws Exception
Exceptionpublic void testEnableReplicationWhenTableDescriptorIsNotSameInClusters() throws Exception
Exceptionpublic void testDisableAndEnableReplication() throws Exception
Exceptionpublic void testEnableReplicationForTableWithRegionReplica() 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
Exceptionpublic void testReplicationPeerConfigUpdateCallback() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.