Package org.apache.hadoop.hbase
Class StripeCompactionsPerformanceEvaluation
java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.StripeCompactionsPerformanceEvaluation
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.util.Tool
@Private
public class StripeCompactionsPerformanceEvaluation
extends org.apache.hadoop.hbase.util.AbstractHBaseTool
A perf test which does large data ingestion using stripe compactions and regular compactions.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
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 byte[]
private LoadTestDataGenerator
private static final String
private static final String
private Long
private int
private static final String
private static final org.slf4j.Logger
private static final int
private static final String
private long
private static final String
private int
private static final String
private static final String
private static final String
private Long
private Long
private static final org.apache.hadoop.hbase.TableName
protected IntegrationTestingUtility
private static final String
private static final String
private static final String
private static final String
private long
private int
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
private org.apache.hadoop.hbase.HTableDescriptor
createHtd
(boolean isStripe) private void
createTable
(boolean isStripe) protected void
createTable
(org.apache.hadoop.hbase.HTableDescriptor htd) protected void
protected int
doWork()
org.apache.hadoop.conf.Configuration
getConf()
private Long
getLongOrNull
(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd, String option) protected void
processOptions
(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) private void
runOneTest
(String description, org.apache.hadoop.conf.Configuration conf) private void
setUp()
private static void
private void
tearDown()
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
-
LOG
-
TABLE_NAME
-
COLUMN_FAMILY
-
MIN_NUM_SERVERS
- See Also:
-
DATAGEN_KEY
- See Also:
-
ITERATIONS_KEY
- See Also:
-
PRELOAD_COUNT_KEY
- See Also:
-
WRITE_COUNT_KEY
- See Also:
-
WRITE_THREADS_KEY
- See Also:
-
READ_THREADS_KEY
- See Also:
-
INITIAL_STRIPE_COUNT_KEY
- See Also:
-
SPLIT_SIZE_KEY
- See Also:
-
SPLIT_PARTS_KEY
- See Also:
-
VALUE_SIZE_KEY
- See Also:
-
SEQ_SHARDS_PER_SERVER_KEY
- See Also:
-
dataGen
-
iterationCount
-
preloadKeys
-
writeKeys
-
writeThreads
-
readThreads
-
initialStripeCount
-
splitSize
-
splitParts
-
VALUE_SIZE_DEFAULT
- See Also:
-
util
-
-
Constructor Details
-
StripeCompactionsPerformanceEvaluation
-
-
Method Details
-
addOptions
- Specified by:
addOptions
in classorg.apache.hadoop.hbase.util.AbstractHBaseTool
-
processOptions
- Specified by:
processOptions
in classorg.apache.hadoop.hbase.util.AbstractHBaseTool
-
getLongOrNull
private Long getLongOrNull(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd, String option) -
getConf
- Specified by:
getConf
in interfaceorg.apache.hadoop.conf.Configurable
- Overrides:
getConf
in classorg.apache.hadoop.hbase.util.AbstractHBaseTool
-
doWork
- Specified by:
doWork
in classorg.apache.hadoop.hbase.util.AbstractHBaseTool
- Throws:
Exception
-
setUp
- Throws:
Exception
-
deleteTable
- Throws:
Exception
-
createTable
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
runOneTest
private void runOneTest(String description, org.apache.hadoop.conf.Configuration conf) throws Exception - Throws:
Exception
-
status
-
createHtd
- Throws:
Exception
-
createTable
- Throws:
Exception
-