Class RegionProcedureStorePerformanceEvaluation
java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.procedure2.store.ProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStore>
org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStorePerformanceEvaluation
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
,org.apache.hadoop.util.Tool
public class RegionProcedureStorePerformanceEvaluation
extends ProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStore>
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final 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 org.apache.hadoop.hbase.master.region.MasterRegion
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 TypeMethodDescriptionprotected org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStore
createProcedureStore
(org.apache.hadoop.fs.Path storeDir) static void
protected void
postStop
(org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStore store) protected void
preWrite
(long procId) protected void
printRawFormatResult
(long timeTakenNs) Methods inherited from class org.apache.hadoop.hbase.procedure2.store.ProcedureStorePerformanceEvaluation
addOptions, doWork, processOptions
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
-
region
-
-
Constructor Details
-
RegionProcedureStorePerformanceEvaluation
-
-
Method Details
-
createProcedureStore
protected org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStore createProcedureStore(org.apache.hadoop.fs.Path storeDir) throws IOException - Specified by:
createProcedureStore
in classProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStore>
- Throws:
IOException
-
printRawFormatResult
- Specified by:
printRawFormatResult
in classProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStore>
-
preWrite
- Specified by:
preWrite
in classProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStore>
- Throws:
IOException
-
postStop
protected void postStop(org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStore store) throws IOException - Overrides:
postStop
in classProcedureStorePerformanceEvaluation<org.apache.hadoop.hbase.procedure2.store.region.RegionProcedureStore>
- Throws:
IOException
-
main
- Throws:
IOException
-