public class IntegrationTestReplication extends IntegrationTestBigLinkedList
IntegrationTestBigLinkedList that creates a large circular
linked list in one cluster and verifies that the data is correct in a sink cluster. The test
handles creating the tables and schema and setting up the replication.| Modifier and Type | Class and Description |
|---|---|
protected class |
IntegrationTestReplication.ClusterID
Wrapper around an HBase ClusterID allowing us
to get admin connections and configurations for it
|
protected class |
IntegrationTestReplication.VerifyReplicationLoop
The main runner loop for the test.
|
| Modifier and Type | Field and Description |
|---|---|
protected int |
generateVerifyGap |
protected boolean |
noReplicationSetup |
protected int |
numIterations |
protected int |
numMappers |
protected long |
numNodes |
protected int |
numReducers |
protected String |
outputDir |
protected String |
sinkClusterIdString |
protected String |
sourceClusterIdString |
protected Integer |
width |
protected Integer |
wrapMultiplier |
COLUMN_CLIENT, COLUMN_COUNT, COLUMN_PREV, DEFAULT_TABLE_NAME, FAMILY_NAME, NO_KEY, NUM_SLAVES_BASE, otherArgs, TABLE_NAME_KEY, toRun, utilCHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUpcmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION| Constructor and Description |
|---|
IntegrationTestReplication() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOptions() |
static void |
main(String[] args) |
protected void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) |
int |
runTestFromCommandLine() |
cleanUpCluster, getColumnFamilies, getTablename, setJobScannerConf, setUpCluster, testContinuousIngestcleanUp, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, processBaseOptions, setUp, setUpMonkey, startMonkeyaddOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConfprotected String sourceClusterIdString
protected String sinkClusterIdString
protected int numIterations
protected int numMappers
protected long numNodes
protected int numReducers
protected int generateVerifyGap
protected Integer wrapMultiplier
protected boolean noReplicationSetup
public IntegrationTestReplication()
protected void addOptions()
addOptions in class IntegrationTestBaseprotected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions in class IntegrationTestBigLinkedListpublic int runTestFromCommandLine() throws Exception
runTestFromCommandLine in class IntegrationTestBigLinkedListExceptionCopyright © 2007–2019 Cloudera. All rights reserved.