public class IntegrationTestAcidGuarantees extends IntegrationTestBase
Sample usage:
hbase org.apache.hadoop.hbase.IntegrationTestAcidGuarantees -Dmillis=10000 -DnumWriters=50 -DnumGetters=2 -DnumScanners=2 -DnumUniqueRows=5
CHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUp, utilcmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION| Constructor and Description |
|---|
IntegrationTestAcidGuarantees() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<String> |
getColumnFamilies()
Provides the name of the CFs that are protected from random Chaos monkey activity (alter)
|
TableName |
getTablename()
Provides the name of the table that is protected from random Chaos monkey activity
|
static void |
main(String[] args) |
int |
runTestFromCommandLine() |
void |
setUpCluster() |
void |
testGetAtomicity() |
void |
testMixedAtomicity() |
void |
testScanAtomicity() |
addOptions, cleanUp, cleanUpCluster, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, processBaseOptions, processOptions, setUp, setUpMonkey, startMonkeyaddOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConfpublic IntegrationTestAcidGuarantees()
public int runTestFromCommandLine() throws Exception
runTestFromCommandLine in class IntegrationTestBaseExceptionpublic void setUpCluster() throws Exception
setUpCluster in class IntegrationTestBaseExceptionpublic TableName getTablename()
IntegrationTestBasegetTablename in class IntegrationTestBaseprotected Set<String> getColumnFamilies()
IntegrationTestBasegetColumnFamilies in class IntegrationTestBasepublic void testGetAtomicity() throws Exception
Exceptionpublic void testScanAtomicity() throws Exception
Exceptionpublic void testMixedAtomicity() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.