public class TestVerifyReplication extends TestReplicationBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.client.Table |
htable3 |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static String |
PEER_ID |
private static org.apache.hadoop.hbase.TableName |
peerTableName |
admin, CONF_WITH_LOCALFS, conf1, conf2, famName, hbaseAdmin, htable1, htable2, NB_RETRIES, NB_ROWS_IN_BATCH, NB_ROWS_IN_BIG_BATCH, noRepfamName, PEER_ID2, row, scopes, SLEEP_TIME, tableName, utility1, utility2, zkw1, zkw2
Constructor and Description |
---|
TestVerifyReplication() |
Modifier and Type | Method and Description |
---|---|
private void |
checkRestoreTmpDir(org.apache.hadoop.conf.Configuration conf,
String restoreTmpDir,
int expectedCount) |
private static void |
runBatchCopyTest() |
private void |
runVerifyReplication(String[] args,
int expectedGoodRows,
int expectedBadRows) |
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testHBase14905() |
void |
testVerifyRepJob()
Do a small loading into a table, make sure the data is really the same, then run the
VerifyReplication job to check the results.
|
void |
testVerifyRepJobWithPeerTableName() |
void |
testVerifyRepJobWithPeerTableNameAndSnapshotSupport() |
void |
testVerifyRepJobWithQuorumAddress() |
void |
testVerifyRepJobWithQuorumAddressAndSnapshotSupport() |
void |
testVerifyRepJobWithRawOptions()
Load a row into a table, make sure the data is really the same, delete the row, make sure the
delete marker is replicated, run verify replication with and without raw to check the results.
|
void |
testVerifyReplicationPrefixFiltering() |
void |
testVerifyReplicationSnapshotArguments() |
void |
testVerifyReplicationWithSnapshotSupport() |
void |
testVersionMismatchHBase14905() |
cleanUp, isSerialPeer, loadData, loadData, runSimplePutDeleteTest, runSmallBatchTest, setUpBase, tearDownBase, waitForReplication
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final String PEER_ID
private static final org.apache.hadoop.hbase.TableName peerTableName
private static org.apache.hadoop.hbase.client.Table htable3
public org.junit.rules.TestName name
public TestVerifyReplication()
public static void setUpBeforeClass() throws Exception
Exception
private void runVerifyReplication(String[] args, int expectedGoodRows, int expectedBadRows) throws IOException, InterruptedException, ClassNotFoundException
public void testVerifyRepJob() throws Exception
Exception
public void testVerifyRepJobWithRawOptions() throws Exception
Exception
public void testHBase14905() throws Exception
Exception
public void testVersionMismatchHBase14905() throws Exception
Exception
public void testVerifyReplicationPrefixFiltering() throws Exception
Exception
public void testVerifyReplicationSnapshotArguments()
private void checkRestoreTmpDir(org.apache.hadoop.conf.Configuration conf, String restoreTmpDir, int expectedCount) throws IOException
IOException
public void testVerifyReplicationWithSnapshotSupport() throws Exception
Exception
public void testVerifyRepJobWithQuorumAddress() throws Exception
Exception
public void testVerifyRepJobWithQuorumAddressAndSnapshotSupport() throws Exception
Exception
private static void runBatchCopyTest() throws Exception
Exception
public void testVerifyRepJobWithPeerTableName() throws Exception
Exception
public void testVerifyRepJobWithPeerTableNameAndSnapshotSupport() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.