public class TestVerifyReplication extends TestReplicationBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static String |
PEER_ID |
admin, CONF_WITH_LOCALFS, conf1, conf2, famName, hbaseAdmin, htable1, htable2, NB_RETRIES, NB_ROWS_IN_BATCH, NB_ROWS_IN_BIG_BATCH, noRepfamName, row, scopes, seperateOldWALs, 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 void |
runVerifyReplication(String[] args,
int expectedGoodRows,
int expectedBadRows) |
void |
setUp() |
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 |
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, loadData, params, runSimplePutDeleteTest, runSmallBatchTest, setUpBeforeClass, tearDownAfterClass, waitForReplication
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final String PEER_ID
public org.junit.rules.TestName name
public TestVerifyReplication()
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
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.