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, util| Constructor and Description |
|---|
IntegrationTestAcidGuarantees() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<java.lang.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(java.lang.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, startMonkeypublic int runTestFromCommandLine()
throws java.lang.Exception
runTestFromCommandLine in class IntegrationTestBasejava.lang.Exceptionpublic void setUpCluster()
throws java.lang.Exception
setUpCluster in class IntegrationTestBasejava.lang.Exceptionpublic TableName getTablename()
IntegrationTestBasegetTablename in class IntegrationTestBaseprotected java.util.Set<java.lang.String> getColumnFamilies()
IntegrationTestBasegetColumnFamilies in class IntegrationTestBasepublic void testGetAtomicity()
throws java.lang.Exception
java.lang.Exceptionpublic void testScanAtomicity()
throws java.lang.Exception
java.lang.Exceptionpublic void testMixedAtomicity()
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception