public class ChaosMonkeyRunner extends org.apache.hadoop.hbase.util.AbstractHBaseTool
Modifier and Type | Field and Description |
---|---|
static String |
CHAOS_MONKEY_PROPS |
static String |
FAMILY_NAME_OPT |
private String |
familyName |
private static org.slf4j.Logger |
LOG |
protected ChaosMonkey |
monkey |
static String |
MONKEY_LONG_OPT |
protected Properties |
monkeyProps |
protected String |
monkeyToUse |
protected boolean |
noClusterCleanUp |
static String |
TABLE_NAME_OPT |
private String |
tableName |
protected IntegrationTestingUtility |
util |
Constructor and Description |
---|
ChaosMonkeyRunner() |
Modifier and Type | Method and Description |
---|---|
void |
addOptions() |
protected int |
doWork() |
void |
getAndStartMonkey() |
protected Set<String> |
getColumnFamilies() |
protected MonkeyFactory |
getDefaultMonkeyFactory() |
org.apache.hadoop.hbase.TableName |
getTablename() |
protected IntegrationTestingUtility |
getTestingUtil(org.apache.hadoop.conf.Configuration conf) |
private boolean |
isDistributedCluster(org.apache.hadoop.conf.Configuration conf) |
static void |
main(String[] args) |
protected void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) |
void |
setUpCluster() |
void |
stopRunner() |
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConf
private static final org.slf4j.Logger LOG
public static final String MONKEY_LONG_OPT
public static final String CHAOS_MONKEY_PROPS
public static final String TABLE_NAME_OPT
public static final String FAMILY_NAME_OPT
protected IntegrationTestingUtility util
protected ChaosMonkey monkey
protected String monkeyToUse
protected Properties monkeyProps
protected boolean noClusterCleanUp
private String familyName
public ChaosMonkeyRunner()
public void addOptions()
addOptions
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
protected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
protected int doWork() throws Exception
doWork
in class org.apache.hadoop.hbase.util.AbstractHBaseTool
Exception
public void stopRunner()
public void setUpCluster() throws Exception
Exception
private boolean isDistributedCluster(org.apache.hadoop.conf.Configuration conf)
public void getAndStartMonkey() throws Exception
Exception
protected IntegrationTestingUtility getTestingUtil(org.apache.hadoop.conf.Configuration conf)
protected MonkeyFactory getDefaultMonkeyFactory()
public org.apache.hadoop.hbase.TableName getTablename()
protected Set<String> getColumnFamilies()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.