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
FieldsModifier and TypeFieldDescriptionprivate static booleanprivate static final org.slf4j.Loggerprotected static final intprotected static byte[]Fields inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
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
Modifier and TypeMethodDescriptionprotected final byte[]generateRowKey(int id) private booleanprotected static voidsetupClusters(boolean allowProceeding) protected final voidprotected final voidprotected final voidMethods inherited from class org.apache.hadoop.hbase.replication.TestReplicationBase
addPeer, addPeer, cleanUp, configureClusters, createTable, getClusterKey, isSerialPeer, isSyncPeer, loadData, loadData, removePeer, removePeer, restartSourceCluster, restartTargetHBaseCluster, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setUpBeforeClass, setupConfig, stopAllRegionServers, 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
-