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, startMonkey
public int runTestFromCommandLine() throws java.lang.Exception
runTestFromCommandLine
in class IntegrationTestBase
java.lang.Exception
public void setUpCluster() throws java.lang.Exception
setUpCluster
in class IntegrationTestBase
java.lang.Exception
public TableName getTablename()
IntegrationTestBase
getTablename
in class IntegrationTestBase
protected java.util.Set<java.lang.String> getColumnFamilies()
IntegrationTestBase
getColumnFamilies
in class IntegrationTestBase
public void testGetAtomicity() throws java.lang.Exception
java.lang.Exception
public void testScanAtomicity() throws java.lang.Exception
java.lang.Exception
public void testMixedAtomicity() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception