Class TestReplicationDisableInactivePeer
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationBase
org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
TestReplicationBase.ReplicationEndpointTest
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
CONF_WITH_LOCALFS, CONF1, CONF2, connection1, connection2, famName, hbaseAdmin, htable1, htable2, NB_RETRIES, NB_ROWS_IN_BATCH, NB_ROWS_IN_BIG_BATCH, noRepfamName, NUM_SLAVES1, NUM_SLAVES2, PEER_ID2, replicateCount, replicatedEntries, row, SLEEP_TIME, tableName, UTIL1, UTIL2
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
addPeer, cleanUp, configureClusters, createTable, isSerialPeer, isSyncPeer, loadData, loadData, removePeer, restartSourceCluster, restartTargetHBaseCluster, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setUpBeforeClass, setupConfig, stopAllRegionServers, tearDownAfterClass, tearDownBase, waitForReplication, waitForReplication
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestReplicationDisableInactivePeer
public TestReplicationDisableInactivePeer()
-
-
Method Details
-
getClusterKey
- Overrides:
getClusterKey
in classTestReplicationBase
- Throws:
Exception
-
testDisableInactivePeer
Test disabling an inactive peer. Add a peer which is inactive, trying to insert, disable the peer, then activate the peer and make sure nothing is replicated. In Addition, enable the peer and check the updates are replicated.- Throws:
Exception
-