Class TestReplicator
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationBaseNoBeforeAll
org.apache.hadoop.hbase.replication.regionserver.TestReplicator
@Tag("org.apache.hadoop.hbase.testclassification.ReplicationTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestReplicator
extends TestReplicationBaseNoBeforeAll
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.apache.hadoop.hbase.replication.TestReplicationBaseNoBeforeAll
TestReplicationBaseNoBeforeAll.ReplicationEndpointTest -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final org.slf4j.Logger(package private) static final intFields inherited from class org.apache.hadoop.hbase.replication.TestReplicationBaseNoBeforeAll
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 TypeMethodDescriptionstatic voidvoidvoidprivate voidtruncateTable(HBaseTestingUtil util, org.apache.hadoop.hbase.TableName tablename) Methods inherited from class org.apache.hadoop.hbase.replication.TestReplicationBaseNoBeforeAll
addPeer, addPeer, cleanUp, configureClusters, createTable, getClusterKey, isSerialPeer, isSyncPeer, loadData, loadData, removePeer, removePeer, restartSourceCluster, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, setupConfig, startClusters, stopAllRegionServers, tearDownAfterClass, tearDownBase, waitForReplication, waitForReplication
-
Field Details
-
LOG
-
NUM_ROWS
- See Also:
-
-
Constructor Details
-
TestReplicator
public TestReplicator()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
testReplicatorBatching
- Throws:
Exception
-
testReplicatorWithErrors
- Throws:
Exception
-
truncateTable
private void truncateTable(HBaseTestingUtil util, org.apache.hadoop.hbase.TableName tablename) throws IOException - Throws:
IOException
-