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