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, tearDown
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestReplicationSyncUpTool()
public void testSyncUpTool() throws Exception
Exception
private void putAndReplicateRows() throws Exception
Exception
private void mimicSyncUpAfterDelete() throws Exception
Exception
private void mimicSyncUpAfterPut() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.