Class TestReplicationDisableInactivePeer
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationBaseNoBeforeAll
org.apache.hadoop.hbase.replication.TestReplicationBase
org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
@Tag("org.apache.hadoop.hbase.testclassification.ReplicationTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestReplicationDisableInactivePeer
extends TestReplicationBase
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.replication.TestReplicationBaseNoBeforeAll
TestReplicationBaseNoBeforeAll.ReplicationEndpointTest -
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.replication.TestReplicationBaseNoBeforeAll
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
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
setUpBeforeClassMethods inherited from class org.apache.hadoop.hbase.replication.TestReplicationBaseNoBeforeAll
addPeer, addPeer, cleanUp, configureClusters, createTable, isSerialPeer, isSyncPeer, loadData, loadData, removePeer, removePeer, restartSourceCluster, restartTargetHBaseCluster, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setupConfig, startClusters, stopAllRegionServers, tearDownAfterClass, tearDownBase, waitForReplication, waitForReplication
-
Field Details
-
LOG
-
-
Constructor Details
-
TestReplicationDisableInactivePeer
public TestReplicationDisableInactivePeer()
-
-
Method Details
-
getClusterKey
- Overrides:
getClusterKeyin classTestReplicationBaseNoBeforeAll- 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
-