public class ProcedureWALPerformanceEvaluation extends ProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
Modifier and Type | Class and Description |
---|---|
private static class |
ProcedureWALPerformanceEvaluation.NoSyncWalProcedureStore |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_NUM_WALS |
static org.apache.hbase.thirdparty.org.apache.commons.cli.Option |
NUM_WALS_OPTION |
private long |
numProcsPerWal |
private int |
numWals |
DEFAULT_NUM_PROCS, DEFAULT_NUM_THREADS, DEFAULT_OUTPUT_PATH, DEFAULT_STATE_SIZE, DEFAULT_SYNC_OPTION, NUM_PROCS_OPTION, NUM_THREADS_OPTION, numProcs, numThreads, OUTPUT_PATH_OPTION, outputPath, SERIALIZED_STATE, STATE_SIZE_OPTION, stateSize, store, SYNC_OPTION, syncType
Constructor and Description |
---|
ProcedureWALPerformanceEvaluation() |
Modifier and Type | Method and Description |
---|---|
void |
addOptions() |
protected org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore |
createProcedureStore(org.apache.hadoop.fs.Path storeDir) |
static void |
main(String[] args) |
protected void |
preWrite(long procId) |
protected void |
printRawFormatResult(long timeTakenNs) |
void |
processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
Processes and validates command line options.
|
private void |
setupConf() |
doWork, postStop
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsInt, getOptionAsLong, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConf
public static int DEFAULT_NUM_WALS
public static org.apache.hbase.thirdparty.org.apache.commons.cli.Option NUM_WALS_OPTION
private long numProcsPerWal
private int numWals
public ProcedureWALPerformanceEvaluation()
private void setupConf()
public void processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
processOptions
in class ProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
public void addOptions()
addOptions
in class ProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
protected org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore createProcedureStore(org.apache.hadoop.fs.Path storeDir) throws IOException
createProcedureStore
in class ProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
IOException
protected void printRawFormatResult(long timeTakenNs)
printRawFormatResult
in class ProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
protected void preWrite(long procId) throws IOException
preWrite
in class ProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
IOException
public static void main(String[] args) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.