Package org.apache.hadoop.hbase
Class IntegrationTestIngestWithMOB
java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.IntegrationTestBase
org.apache.hadoop.hbase.IntegrationTestIngest
org.apache.hadoop.hbase.IntegrationTestIngestWithMOB
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.util.Tool
Integration Test for MOB ingest.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.util.AbstractHBaseTool.OptionsOrderComparator
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final char
private static final long
protected String[]
static final String
private int
static final String
private int
private byte[]
private int
static final String
Fields inherited from class org.apache.hadoop.hbase.IntegrationTestIngest
cluster, DEFAULT_NUM_KEYS_PER_SERVER, DEFAULT_NUM_READ_THREADS, DEFAULT_NUM_WRITE_THREADS, DEFAULT_RUN_TIME, HIPHEN, LOAD_TEST_TOOL_INIT_ARGS, loadTool, LOG, NUM_KEYS_PER_SERVER_KEY, NUM_READ_THREADS_KEY, NUM_WRITE_THREADS_KEY, RUN_TIME_KEY, util
Fields inherited from class org.apache.hadoop.hbase.IntegrationTestBase
CHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUp
Fields inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected String[]
getArgsForLoadTestTool
(String mode, String modeSpecificArg, long startKey, long numKeys) protected String[]
protected void
static void
protected void
processOptions
(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) void
Methods inherited from class org.apache.hadoop.hbase.IntegrationTestIngest
getColumnFamilies, getMinServerCount, getNumKeys, getTablename, internalRunIngestTest, runIngestTest, runTestFromCommandLine, setUpCluster
Methods inherited from class org.apache.hadoop.hbase.IntegrationTestBase
cleanUp, cleanUpCluster, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getDefaultMonkeyFactory, getTestingUtil, loadMonkeyProperties, processBaseOptions, setUp, setUpMonkey, startMonkey
Methods inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getOptionAsDouble, getOptionAsInt, getOptionAsInt, getOptionAsLong, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConf
-
Field Details
-
COLON
- See Also:
-
mobColumnFamily
-
THRESHOLD
- See Also:
-
MIN_MOB_DATA_SIZE
- See Also:
-
MAX_MOB_DATA_SIZE
- See Also:
-
threshold
-
minMobDataSize
-
maxMobDataSize
-
JUNIT_RUN_TIME
- See Also:
-
LOAD_TEST_TOOL_MOB_INIT_ARGS
-
-
Constructor Details
-
IntegrationTestIngestWithMOB
public IntegrationTestIngestWithMOB()
-
-
Method Details
-
getArgsForLoadTestToolInitTable
- Overrides:
getArgsForLoadTestToolInitTable
in classIntegrationTestIngest
-
addOptions
- Overrides:
addOptions
in classIntegrationTestBase
-
processOptions
- Overrides:
processOptions
in classIntegrationTestBase
-
testIngest
- Overrides:
testIngest
in classIntegrationTestIngest
- Throws:
Exception
-
initTable
- Overrides:
initTable
in classIntegrationTestIngest
- Throws:
IOException
-
getArgsForLoadTestTool
protected String[] getArgsForLoadTestTool(String mode, String modeSpecificArg, long startKey, long numKeys) - Overrides:
getArgsForLoadTestTool
in classIntegrationTestIngest
-
main
- Throws:
Exception
-