Class ReplicationDroppedTablesTestBase
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationBase
org.apache.hadoop.hbase.replication.ReplicationDroppedTablesTestBase
- Direct Known Subclasses:
TestEditsBehindDroppedTableTiming
,TestEditsDroppedWithDroppedTable
,TestEditsDroppedWithDroppedTableNS
,TestEditsStuckBehindDroppedTable
Base class for testing replication for dropped tables.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
TestReplicationBase.ReplicationEndpointTest
-
Field Summary
Modifier and TypeFieldDescriptionprivate static boolean
private static final org.slf4j.Logger
protected static final int
protected static byte[]
Fields inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
admin, 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
Modifier and TypeMethodDescriptionprotected final byte[]
generateRowKey
(int id) private boolean
protected static void
setupClusters
(boolean allowProceeding) protected final void
protected final void
protected final void
Methods inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
addPeer, cleanUp, configureClusters, createTable, isSerialPeer, loadData, loadData, removePeer, restartSourceCluster, restartTargetHBaseCluster, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setUpBeforeClass, setupConfig, tearDownAfterClass, tearDownBase, waitForReplication, waitForReplication
-
Field Details
-
LOG
-
ROWS_COUNT
- See Also:
-
VALUE
-
ALLOW_PROCEEDING
-
-
Constructor Details
-
ReplicationDroppedTablesTestBase
public ReplicationDroppedTablesTestBase()
-
-
Method Details
-
setupClusters
- Throws:
Exception
-
generateRowKey
-
testEditsBehindDroppedTable
- Throws:
Exception
-
peerHasAllNormalRows
- Throws:
IOException
-
verifyReplicationProceeded
- Throws:
Exception
-
verifyReplicationStuck
- Throws:
Exception
-