@Deprecated @InterfaceAudience.LimitedPrivate(value="Tools") @InterfaceStability.Evolving public class ProcedureWALPrettyPrinter extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
| Modifier and Type | Field and Description | 
|---|---|
| private PrintStream | outDeprecated.  | 
| Constructor and Description | 
|---|
| ProcedureWALPrettyPrinter()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | main(String[] args)Deprecated.  | 
| private void | printEntry(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALEntry entry)Deprecated.  | 
| private void | printHeader(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header)Deprecated.  | 
| private void | printProcedure(Procedure<?> proc)Deprecated.  | 
| void | processFile(org.apache.hadoop.conf.Configuration conf,
           org.apache.hadoop.fs.Path p)Deprecated.  Reads a log file and outputs its contents. | 
| void | processProcedureWALFile(ProcedureWALFile log)Deprecated.  | 
| int | run(String[] args)Deprecated.  Pass one or more log file names and formatting options and it will dump out a text version of
 the contents on  stdout. | 
private final PrintStream out
public ProcedureWALPrettyPrinter()
public void processFile(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path p) throws IOException
conf - HBase configuration relevant to this log filep - path of the log file to be readIOException - IOExceptionpublic void processProcedureWALFile(ProcedureWALFile log) throws IOException
IOExceptionprivate void printEntry(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALEntry entry) throws IOException
IOExceptionprivate void printProcedure(Procedure<?> proc)
private void printHeader(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header)
public int run(String[] args) throws IOException
stdout. n * Command line arguments n * Thrown upon file system
 errors etc.run in interface org.apache.hadoop.util.ToolIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.