@InterfaceAudience.Private public class StripeCompactionsPerformanceEvaluation extends org.apache.hadoop.hbase.util.AbstractHBaseTool
| Modifier and Type | Class and Description |
|---|---|
static class |
StripeCompactionsPerformanceEvaluation.SeqShardedDataGenerator |
| Modifier and Type | Field and Description |
|---|---|
private static byte[] |
COLUMN_FAMILY |
private LoadTestDataGenerator |
dataGen |
private static String |
DATAGEN_KEY |
private static String |
INITIAL_STRIPE_COUNT_KEY |
private Long |
initialStripeCount |
private int |
iterationCount |
private static String |
ITERATIONS_KEY |
private static org.slf4j.Logger |
LOG |
private static int |
MIN_NUM_SERVERS |
private static String |
PRELOAD_COUNT_KEY |
private long |
preloadKeys |
private static String |
READ_THREADS_KEY |
private int |
readThreads |
private static String |
SEQ_SHARDS_PER_SERVER_KEY |
private static String |
SPLIT_PARTS_KEY |
private static String |
SPLIT_SIZE_KEY |
private Long |
splitParts |
private Long |
splitSize |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
protected IntegrationTestingUtility |
util |
private static String |
VALUE_SIZE_DEFAULT |
private static String |
VALUE_SIZE_KEY |
private static String |
WRITE_COUNT_KEY |
private static String |
WRITE_THREADS_KEY |
private long |
writeKeys |
private int |
writeThreads |
| Constructor and Description |
|---|
StripeCompactionsPerformanceEvaluation() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOptions() |
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 |
deleteTable() |
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 |
status(String s) |
private void |
tearDown() |
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getOptionAsDouble, getOptionAsInt, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConfprivate static final org.slf4j.Logger LOG
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] COLUMN_FAMILY
private static final int MIN_NUM_SERVERS
private static final String DATAGEN_KEY
private static final String ITERATIONS_KEY
private static final String PRELOAD_COUNT_KEY
private static final String WRITE_COUNT_KEY
private static final String WRITE_THREADS_KEY
private static final String READ_THREADS_KEY
private static final String INITIAL_STRIPE_COUNT_KEY
private static final String SPLIT_SIZE_KEY
private static final String SPLIT_PARTS_KEY
private static final String VALUE_SIZE_KEY
private static final String SEQ_SHARDS_PER_SERVER_KEY
private LoadTestDataGenerator dataGen
private int iterationCount
private long preloadKeys
private long writeKeys
private int writeThreads
private int readThreads
private Long initialStripeCount
private Long splitParts
private static final String VALUE_SIZE_DEFAULT
protected IntegrationTestingUtility util
public StripeCompactionsPerformanceEvaluation()
protected void addOptions()
addOptions in class org.apache.hadoop.hbase.util.AbstractHBaseToolprotected void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions in class org.apache.hadoop.hbase.util.AbstractHBaseToolprivate Long getLongOrNull(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd, String option)
public org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurablegetConf in class org.apache.hadoop.hbase.util.AbstractHBaseToolprotected int doWork() throws Exception
doWork in class org.apache.hadoop.hbase.util.AbstractHBaseToolExceptionprotected void deleteTable() throws Exception
Exceptionprivate void createTable(boolean isStripe) throws Exception
Exceptionprivate void runOneTest(String description, org.apache.hadoop.conf.Configuration conf) throws Exception
Exceptionprivate org.apache.hadoop.hbase.HTableDescriptor createHtd(boolean isStripe) throws Exception
Exceptionprotected void createTable(org.apache.hadoop.hbase.HTableDescriptor htd) throws Exception
ExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.