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| Constructor and Description |
|---|
IntegrationTestLoadAndVerify() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUpCluster() |
protected Job |
doLoad(Configuration conf,
HTableDescriptor htd) |
protected void |
doVerify(Configuration conf,
HTableDescriptor htd) |
protected Set<String> |
getColumnFamilies() |
TableName |
getTablename() |
Path |
getTestDir(String testName,
String subdir) |
static void |
main(String[] argv) |
protected void |
processOptions(CommandLine cmd)
This method is called to process the options after they have been parsed.
|
int |
runTestFromCommandLine() |
protected void |
setMapperClass(Job job) |
void |
setUpCluster() |
static long |
swapLong(long value)
Converts a "long" value between endian systems.
|
void |
testLoadAndVerify() |
void |
usage() |
addOptions, cleanUp, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, processBaseOptions, setUp, setUpMonkey, startMonkeyaddOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, parseArgs, parseInt, parseLong, printUsage, printUsage, run, setConfpublic 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 Job doLoad(Configuration conf,
HTableDescriptor htd)
throws Exception
Exceptionprotected void setMapperClass(Job job)
protected void doVerify(Configuration conf,
HTableDescriptor htd)
throws Exception
Exceptionpublic Path getTestDir(String testName, String subdir) throws IOException
IOExceptionpublic void usage()
protected void processOptions(CommandLine cmd)
AbstractHBaseToolprocessOptions in class IntegrationTestBasepublic int runTestFromCommandLine()
throws Exception
runTestFromCommandLine in class IntegrationTestBaseExceptionpublic TableName getTablename()
getTablename in class IntegrationTestBaseprotected Set<String> getColumnFamilies()
getColumnFamilies in class IntegrationTestBase