public class TestReplicationSyncUpTool extends TestReplicationSyncUpToolBase
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
conn1, conn2, FAMILY, ht1Source, ht1TargetAtPeer1, ht2Source, ht2TargetAtPeer1, NO_REP_FAMILY, QUALIFIER, t1SyncupSource, t1SyncupTarget, t2SyncupSource, t2SyncupTarget, TN1, TN2, UTIL1, UTIL2| Constructor and Description |
|---|
TestReplicationSyncUpTool() |
| Modifier and Type | Method and Description |
|---|---|
private void |
mimicSyncUpAfterDelete() |
private void |
mimicSyncUpAfterPut() |
private void |
putAndReplicateRows() |
void |
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.
|
customizeClusterConf, restartSourceHBaseCluster, restartTargetHBaseCluster, setUp, setupReplication, shutDownSourceHBaseCluster, shutDownTargetHBaseCluster, syncUp, tearDownpublic static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestReplicationSyncUpTool()
public void testSyncUpTool() throws Exception
Exceptionprivate void putAndReplicateRows() throws Exception
Exceptionprivate void mimicSyncUpAfterDelete() throws Exception
Exceptionprivate void mimicSyncUpAfterPut() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.