public class IntegrationTestLoadAndVerify extends IntegrationTestBase
| Modifier and Type | Class and Description |
|---|---|
static class |
IntegrationTestLoadAndVerify.LoadMapper |
static class |
IntegrationTestLoadAndVerify.VerifyMapper |
static class |
IntegrationTestLoadAndVerify.VerifyReducer |
static class |
IntegrationTestLoadAndVerify.WALSearcher
Tool to search missing rows in WALs and hfiles.
|
CHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUp, utilcmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION| Constructor and Description |
|---|
IntegrationTestLoadAndVerify() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUpCluster() |
protected org.apache.hadoop.mapreduce.Job |
doLoad(org.apache.hadoop.conf.Configuration conf,
HTableDescriptor htd) |
protected void |
doVerify(org.apache.hadoop.conf.Configuration conf,
HTableDescriptor htd) |
protected Set<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
|
org.apache.hadoop.fs.Path |
getTestDir(String testName,
String subdir) |
static void |
main(String[] argv) |
void |
printUsage() |
protected void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) |
int |
runTestFromCommandLine() |
protected void |
setMapperClass(org.apache.hadoop.mapreduce.Job job) |
void |
setUpCluster() |
static long |
swapLong(long value)
Converts a "long" value between endian systems.
|
void |
testLoadAndVerify() |
addOptions, cleanUp, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, processBaseOptions, setUp, setUpMonkey, startMonkeyaddOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, processOldArgs, run, setConfpublic IntegrationTestLoadAndVerify()
public void setUpCluster() throws Exception
setUpCluster in class IntegrationTestBaseExceptionpublic void cleanUpCluster() throws Exception
cleanUpCluster in class IntegrationTestBaseExceptionpublic static long swapLong(long value)
value - value to convertprotected org.apache.hadoop.mapreduce.Job doLoad(org.apache.hadoop.conf.Configuration conf, HTableDescriptor htd) throws Exception
Exceptionprotected void setMapperClass(org.apache.hadoop.mapreduce.Job job)
protected void doVerify(org.apache.hadoop.conf.Configuration conf, HTableDescriptor htd) throws Exception
Exceptionpublic org.apache.hadoop.fs.Path getTestDir(String testName, String subdir) throws IOException
IOExceptionpublic void testLoadAndVerify() throws Exception
Exceptionpublic void printUsage()
printUsage in class AbstractHBaseToolprotected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions in class IntegrationTestBasepublic int runTestFromCommandLine() throws Exception
runTestFromCommandLine in class IntegrationTestBaseExceptionpublic TableName getTablename()
IntegrationTestBasegetTablename in class IntegrationTestBaseprotected Set<String> getColumnFamilies()
IntegrationTestBasegetColumnFamilies in class IntegrationTestBaseCopyright © 2007–2019 Cloudera. All rights reserved.