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, util
cmdLineArgs, 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, startMonkey
addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, parseArgs, parseInt, parseLong, printUsage, printUsage, run, setConf
public void setUpCluster() throws Exception
setUpCluster
in class IntegrationTestBase
Exception
public void cleanUpCluster() throws Exception
cleanUpCluster
in class IntegrationTestBase
Exception
public static long swapLong(long value)
value
- value to convertprotected Job doLoad(Configuration conf, HTableDescriptor htd) throws Exception
Exception
protected void setMapperClass(Job job)
protected void doVerify(Configuration conf, HTableDescriptor htd) throws Exception
Exception
public Path getTestDir(String testName, String subdir) throws IOException
IOException
public void usage()
protected void processOptions(CommandLine cmd)
AbstractHBaseTool
processOptions
in class IntegrationTestBase
public int runTestFromCommandLine() throws Exception
runTestFromCommandLine
in class IntegrationTestBase
Exception
public TableName getTablename()
getTablename
in class IntegrationTestBase
protected Set<String> getColumnFamilies()
getColumnFamilies
in class IntegrationTestBase