Class ProcedureWALPerformanceEvaluation
java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.procedure2.store.ProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
org.apache.hadoop.hbase.procedure2.store.wal.ProcedureWALPerformanceEvaluation
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.util.Tool
public class ProcedureWALPerformanceEvaluation
extends ProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.util.AbstractHBaseTool.OptionsOrderComparator
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
static org.apache.hbase.thirdparty.org.apache.commons.cli.Option
private long
private int
Fields inherited from class org.apache.hadoop.hbase.procedure2.store.ProcedureStorePerformanceEvaluation
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
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 TypeMethodDescriptionvoid
protected org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore
createProcedureStore
(org.apache.hadoop.fs.Path storeDir) static void
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
Methods inherited from class org.apache.hadoop.hbase.procedure2.store.ProcedureStorePerformanceEvaluation
doWork, postStop
Methods inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsInt, getOptionAsLong, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConf
-
Field Details
-
DEFAULT_NUM_WALS
-
NUM_WALS_OPTION
-
numProcsPerWal
-
numWals
-
-
Constructor Details
-
ProcedureWALPerformanceEvaluation
public ProcedureWALPerformanceEvaluation()
-
-
Method Details
-
setupConf
-
processOptions
Processes and validates command line options.- Overrides:
processOptions
in classProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
-
addOptions
- Overrides:
addOptions
in classProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
-
createProcedureStore
protected org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore createProcedureStore(org.apache.hadoop.fs.Path storeDir) throws IOException - Specified by:
createProcedureStore
in classProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
- Throws:
IOException
-
printRawFormatResult
- Specified by:
printRawFormatResult
in classProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
-
preWrite
- Specified by:
preWrite
in classProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore>
- Throws:
IOException
-
main
- Throws:
IOException
-