Class TestReplicationSyncUpToolWithBulkLoadedData
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationSyncUpToolBase
org.apache.hadoop.hbase.replication.TestReplicationSyncUpToolWithBulkLoadedData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.replication.TestReplicationSyncUpToolBase
conn1, conn2, FAMILY, ht1Source, ht1TargetAtPeer1, ht2Source, ht2TargetAtPeer1, NO_REP_FAMILY, QUALIFIER, t1SyncupSource, t1SyncupTarget, t2SyncupSource, t2SyncupTarget, TN1, TN2, UTIL1, UTIL2 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcustomizeClusterConf(org.apache.hadoop.conf.Configuration conf) private voidloadAndReplicateHFiles(boolean verifyReplicationOnSlave, Iterator<String> randomHFileRangeListIterator) private voidloadAndValidateHFileReplication(String testName, byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table source, byte[][][] hfileRanges, int numOfRows) private voidloadFromOtherHDFSAndValidateHFileReplication(String testName, byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table source, byte[][][] hfileRanges, int numOfRows) private voidmimicSyncUpAfterBulkLoad(Iterator<String> randomHFileRangeListIterator) voidprivate voidMethods inherited from class org.apache.hadoop.hbase.replication.TestReplicationSyncUpToolBase
restartSourceHBaseCluster, restartTargetHBaseCluster, setUp, setupReplication, shutDownSourceHBaseCluster, shutDownTargetHBaseCluster, syncUp, syncUp, tearDown
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestReplicationSyncUpToolWithBulkLoadedData
-
-
Method Details
-
customizeClusterConf
- Overrides:
customizeClusterConfin classTestReplicationSyncUpToolBase
-
testSyncUpTool
- Throws:
Exception
-
mimicSyncUpAfterBulkLoad
private void mimicSyncUpAfterBulkLoad(Iterator<String> randomHFileRangeListIterator) throws Exception - Throws:
Exception
-
loadAndReplicateHFiles
private void loadAndReplicateHFiles(boolean verifyReplicationOnSlave, Iterator<String> randomHFileRangeListIterator) throws Exception - Throws:
Exception
-
loadAndValidateHFileReplication
private void loadAndValidateHFileReplication(String testName, byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table source, byte[][][] hfileRanges, int numOfRows) throws Exception - Throws:
Exception
-
loadFromOtherHDFSAndValidateHFileReplication
private void loadFromOtherHDFSAndValidateHFileReplication(String testName, byte[] row, byte[] fam, org.apache.hadoop.hbase.client.Table source, byte[][][] hfileRanges, int numOfRows) throws Exception - Throws:
Exception
-
wait
private void wait(org.apache.hadoop.hbase.client.Table target, int expectedCount, String msg) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-