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| 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 java.util.Set<java.lang.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
|
Path |
getTestDir(java.lang.String testName,
java.lang.String subdir) |
static void |
main(java.lang.String[] argv) |
void |
printUsage() |
protected void |
processOptions(CommandLine cmd) |
int |
runTestFromCommandLine() |
protected void |
setMapperClass(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, startMonkeypublic void setUpCluster()
throws java.lang.Exception
setUpCluster in class IntegrationTestBasejava.lang.Exceptionpublic void cleanUpCluster()
throws java.lang.Exception
cleanUpCluster in class IntegrationTestBasejava.lang.Exceptionpublic static long swapLong(long value)
value - value to convertprotected Job doLoad(Configuration conf,
HTableDescriptor htd)
throws java.lang.Exception
java.lang.Exceptionprotected void setMapperClass(Job job)
protected void doVerify(Configuration conf,
HTableDescriptor htd)
throws java.lang.Exception
java.lang.Exceptionpublic Path getTestDir(java.lang.String testName,
java.lang.String subdir)
throws java.io.IOException
java.io.IOExceptionpublic void testLoadAndVerify()
throws java.lang.Exception
java.lang.Exceptionpublic void printUsage()
protected void processOptions(CommandLine cmd)
processOptions in class IntegrationTestBasepublic int runTestFromCommandLine()
throws java.lang.Exception
runTestFromCommandLine in class IntegrationTestBasejava.lang.Exceptionpublic TableName getTablename()
IntegrationTestBasegetTablename in class IntegrationTestBaseprotected java.util.Set<java.lang.String> getColumnFamilies()
IntegrationTestBasegetColumnFamilies in class IntegrationTestBasepublic static void main(java.lang.String[] argv)
throws java.lang.Exception
java.lang.Exception