Class WALProcedurePrettyPrinter
java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.procedure2.store.region.WALProcedurePrettyPrinter
- All Implemented Interfaces:
 org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
A tool to dump the procedures in the WAL files.
 
 The different between this and 
WALPrettyPrinter is that, this class will decode the
 procedure in the WALEdit for better debugging. You are free to use WALPrettyPrinter to
 dump the same file as well.- 
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
AbstractHBaseTool.OptionsOrderComparator - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate static final DateTimeFormatterprivate static final Stringprivate PrintStreamFields inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidOverride this to add command-line options usingAbstractHBaseTool.addOptWithArg(java.lang.String, java.lang.String)and similar methods.protected intdoWork()The "main function" of the toolstatic voidprotected voidprocessOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd) This method is called to process the options after they have been parsed.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
- 
KEY_TMPL
- See Also:
 
 - 
FORMATTER
 - 
file
 - 
out
 
 - 
 - 
Constructor Details
- 
WALProcedurePrettyPrinter
public WALProcedurePrettyPrinter() - 
WALProcedurePrettyPrinter
 
 - 
 - 
Method Details
- 
addOptions
Description copied from class:AbstractHBaseToolOverride this to add command-line options usingAbstractHBaseTool.addOptWithArg(java.lang.String, java.lang.String)and similar methods.- Specified by:
 addOptionsin classAbstractHBaseTool
 - 
processOptions
Description copied from class:AbstractHBaseToolThis method is called to process the options after they have been parsed.- Specified by:
 processOptionsin classAbstractHBaseTool
 - 
doWork
Description copied from class:AbstractHBaseToolThe "main function" of the tool- Specified by:
 doWorkin classAbstractHBaseTool- Throws:
 Exception
 - 
main
 
 -