public class IntegrationTestTimeBoundedMultiGetRequestsWithRegionReplicas extends IntegrationTestTimeBoundedRequestsWithRegionReplicas
IntegrationTestTimeBoundedRequestsWithRegionReplicas
for multi-gets
Besides the options already talked about in IntegrationTestTimeBoundedRequestsWithRegionReplicas
the addition options here are:
-DIntegrationTestTimeBoundedMultiGetRequestsWithRegionReplicas.multiget_batchsize=100 -DIntegrationTestTimeBoundedMultiGetRequestsWithRegionReplicas.num_regions_per_server=5The multiget_batchsize when set to 1 will issue normal GETs. The num_regions_per_server argument indirectly impacts the region size (for a given number of num_keys_per_server). That in conjunction with multiget_batchsize would have different behaviors - the batch of gets goes to the same region or to multiple regions.
IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader
CHAOS_MONKEY_DELAY_KEY, DEFAUL_CHAOS_MONKEY_DELAY, DEFAULT_GET_TIMEOUT, DEFAULT_REGION_REPLICATION, GET_TIMEOUT_KEY
cluster, DEFAULT_NUM_KEYS_PER_SERVER, DEFAULT_NUM_READ_THREADS, DEFAULT_NUM_WRITE_THREADS, DEFAULT_RUN_TIME, HIPHEN, JUNIT_RUN_TIME, LOAD_TEST_TOOL_INIT_ARGS, loadTool, NUM_KEYS_PER_SERVER_KEY, NUM_READ_THREADS_KEY, NUM_WRITE_THREADS_KEY, RUN_TIME_KEY, util
CHAOS_MONKEY_PROPS, monkey, MONKEY_LONG_OPT, monkeyProps, monkeyToUse, NO_CLUSTER_CLEANUP_LONG_OPT, noClusterCleanUp
Constructor and Description |
---|
IntegrationTestTimeBoundedMultiGetRequestsWithRegionReplicas() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
getArgsForLoadTestTool(String mode,
String modeSpecificArg,
long startKey,
long numKeys) |
static void |
main(String[] args) |
getDefaultMonkeyFactory, runIngestTest, setConf, startMonkey, writeData
getArgsForLoadTestToolInitTable, getColumnFamilies, getMinServerCount, getNumKeys, getTablename, initTable, internalRunIngestTest, runTestFromCommandLine, setUpCluster, testIngest
addOptions, cleanUp, cleanUpCluster, cleanUpMonkey, cleanUpMonkey, doWork, getConf, getTestingUtil, processBaseOptions, processOptions, setUp, setUpMonkey
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run
public IntegrationTestTimeBoundedMultiGetRequestsWithRegionReplicas()
protected String[] getArgsForLoadTestTool(String mode, String modeSpecificArg, long startKey, long numKeys)
getArgsForLoadTestTool
in class IntegrationTestTimeBoundedRequestsWithRegionReplicas
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.