public class IntegrationTestAcidGuarantees extends IntegrationTestBase
Sample usage:
hbase org.apache.hadoop.hbase.IntegrationTestAcidGuarantees -Dmillis=10000 -DnumWriters=50 -DnumGetters=2 -DnumScanners=2 -DnumUniqueRows=5
| Modifier and Type | Field and Description |
|---|---|
private static int |
SERVER_COUNT |
(package private) AcidGuaranteesTestTool |
tool |
CHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUp, util| 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)
|
org.apache.hadoop.hbase.TableName |
getTablename()
Provides the name of the table that is protected from random Chaos monkey activity
|
static void |
main(String[] args) |
private void |
runTestAtomicity(long millisToRun,
int numWriters,
int numGetters,
int numScanners,
int numUniqueRows) |
int |
runTestFromCommandLine() |
void |
setUpCluster() |
void |
testGetAtomicity() |
void |
testMixedAtomicity() |
void |
testScanAtomicity() |
addOptions, cleanUp, cleanUpCluster, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, loadMonkeyProperties, processBaseOptions, processOptions, setUp, setUpMonkey, startMonkeyaddOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConfprivate static final int SERVER_COUNT
public IntegrationTestAcidGuarantees()
public int runTestFromCommandLine() throws Exception
runTestFromCommandLine in class IntegrationTestBaseExceptionpublic void setUpCluster() throws Exception
setUpCluster in class IntegrationTestBaseExceptionpublic org.apache.hadoop.hbase.TableName getTablename()
IntegrationTestBasegetTablename in class IntegrationTestBaseprotected Set<String> getColumnFamilies()
IntegrationTestBasegetColumnFamilies in class IntegrationTestBaseprivate void runTestAtomicity(long millisToRun, int numWriters, int numGetters, int numScanners, int numUniqueRows) throws Exception
Exceptionpublic void testGetAtomicity() throws Exception
Exceptionpublic void testScanAtomicity() throws Exception
Exceptionpublic void testMixedAtomicity() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.