@InterfaceAudience.LimitedPrivate(value="Tools") @InterfaceStability.Evolving public class ProcedureWALPrettyPrinter extends java.lang.Object
Constructor and Description |
---|
ProcedureWALPrettyPrinter() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
void |
processFile(Configuration conf,
Path p)
Reads a log file and outputs its contents.
|
void |
processProcedureWALFile(ProcedureWALFile log) |
static void |
run(java.lang.String[] args)
Pass one or more log file names and formatting options and it will dump out
a text version of the contents on
stdout . |
public void processFile(Configuration conf, Path p) throws java.io.IOException
conf
- HBase configuration relevant to this log filep
- path of the log file to be readjava.io.IOException
- IOExceptionpublic void processProcedureWALFile(ProcedureWALFile log) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public static void run(java.lang.String[] args) throws java.io.IOException
stdout
.args
- Command line argumentsjava.io.IOException
- Thrown upon file system errors etc.