Class TestReplicationSyncUpTool
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationSyncUpToolBase
org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
- Direct Known Subclasses:
TestReplicationSyncUpToolWithMultipleAsyncWAL
,TestReplicationSyncUpToolWithMultipleWAL
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.replication.TestReplicationSyncUpToolBase
conn1, conn2, FAMILY, ht1Source, ht1TargetAtPeer1, ht2Source, ht2TargetAtPeer1, NO_REP_FAMILY, QUALIFIER, t1SyncupSource, t1SyncupTarget, t2SyncupSource, t2SyncupTarget, TN1, TN2, UTIL1, UTIL2
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
private void
void
test "start a new ReplicationSyncUp after the previous failed".void
Add a row to a table in each cluster, check it's replicated, delete it, check's gone Also check the puts and deletes are not replicated back to the originating cluster.Methods inherited from class org.apache.hadoop.hbase.replication.TestReplicationSyncUpToolBase
customizeClusterConf, restartSourceHBaseCluster, restartTargetHBaseCluster, setUp, setupReplication, shutDownSourceHBaseCluster, shutDownTargetHBaseCluster, syncUp, syncUp, tearDown
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestReplicationSyncUpTool
public TestReplicationSyncUpTool()
-
-
Method Details
-
testSyncUpTool
Add a row to a table in each cluster, check it's replicated, delete it, check's gone Also check the puts and deletes are not replicated back to the originating cluster.- Throws:
Exception
-
putAndReplicateRows
- Throws:
Exception
-
mimicSyncUpAfterDelete
- Throws:
Exception
-
mimicSyncUpAfterPut
- Throws:
Exception
-
testStartANewSyncUpToolAfterFailed
test "start a new ReplicationSyncUp after the previous failed". See HBASE-27623 for details.- Throws:
Exception
-