Skip to content

Commit

Permalink
HBASE-13413 New integration test for oss => oss replication
Browse files Browse the repository at this point in the history
Summary: This test subclasses the BigLinkedList test. It takes two hbase clusters as arguments, sets up tables, sets up replication, and runs the BigLinkedList generator. The verification portion of the loop checks that the sink of the replication has the data and it is correct.

Test Plan: ran the test on my laptop and a small live cluster

Reviewers: dimaspivak, eclark

Reviewed By: eclark

Subscribers: srikanth235, asameet

Differential Revision: https://reviews.facebook.net/D36423

Signed-off-by: Elliott Clark <eclark@apache.org>
  • Loading branch information
Rajesh Nishtala authored and elliottneilclark committed Apr 7, 2015
1 parent 4d5a11e commit d5e8152
Show file tree
Hide file tree
Showing 2 changed files with 430 additions and 2 deletions.
Expand Up @@ -71,8 +71,14 @@ protected void addOptions() {
+ "monkey properties.");
}

@Override
protected void processOptions(CommandLine cmd) {
/**
* This allows tests that subclass children of this base class such as
* {@link org.apache.hadoop.hbase.test.IntegrationTestReplication} to
* include the base options without having to also include the options from the test.
*
* @param cmd the command line
*/
protected void processBaseOptions(CommandLine cmd) {
if (cmd.hasOption(MONKEY_LONG_OPT)) {
monkeyToUse = cmd.getOptionValue(MONKEY_LONG_OPT);
}
Expand All @@ -94,6 +100,11 @@ protected void processOptions(CommandLine cmd) {
}
}

@Override
protected void processOptions(CommandLine cmd) {
processBaseOptions(cmd);
}

@Override
public Configuration getConf() {
Configuration c = super.getConf();
Expand Down

0 comments on commit d5e8152

Please sign in to comment.