Package org.apache.hadoop.hbase.test
Class IntegrationTestMonkeys
java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.chaos.util.ChaosMonkeyRunner
org.apache.hadoop.hbase.test.IntegrationTestMonkeys
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.util.Tool
This is an integration test for showing a simple usage of how to use
Monkeys
to control
ChaosMonkeyRunner
.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.util.AbstractHBaseTool.OptionsOrderComparator
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
Fields inherited from class org.apache.hadoop.hbase.chaos.util.ChaosMonkeyRunner
CHAOS_MONKEY_PROPS, FAMILY_NAME_OPT, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, noClusterCleanUp, TABLE_NAME_OPT, util
Fields inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.chaos.util.ChaosMonkeyRunner
addOptions, getAndStartMonkey, getColumnFamilies, getDefaultMonkeyFactory, getTablename, getTestingUtil, processOptions, setUpCluster, stopRunner
Methods inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsInt, getOptionAsLong, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConf
-
Field Details
-
RUN_SECS
- See Also:
-
WAIT_SECS
- See Also:
-
-
Constructor Details
-
IntegrationTestMonkeys
public IntegrationTestMonkeys()
-
-
Method Details
-
doWork
- Overrides:
doWork
in classChaosMonkeyRunner
- Throws:
Exception
-
runMonkeys
- Throws:
Exception
-
main
- Throws:
Exception
-