Class ProcedureWALPrettyPrinter

java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.procedure2.store.wal.ProcedureWALPrettyPrinter
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

@Deprecated @LimitedPrivate("Tools") @Evolving public class ProcedureWALPrettyPrinter extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
Deprecated.
Since 2.3.0, will be removed in 4.0.0. Keep here only for rolling upgrading, now we use the new region based procedure store.
ProcedureWALPrettyPrinter prints the contents of a given ProcedureWAL file
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final org.slf4j.Logger
    Deprecated.
     
    private final PrintStream
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    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
    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
    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.

    Methods inherited from class org.apache.hadoop.conf.Configured

    getConf, setConf

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.conf.Configurable

    getConf, setConf
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
      Deprecated.
    • out

      private final PrintStream out
      Deprecated.
  • Constructor Details

  • Method Details

    • processFile

      public void processFile(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path p) throws IOException
      Deprecated.
      Reads a log file and outputs its contents.
      Parameters:
      conf - HBase configuration relevant to this log file
      p - path of the log file to be read
      Throws:
      IOException - IOException
    • processProcedureWALFile

      Deprecated.
      Throws:
      IOException
    • printEntry

      private void printEntry(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALEntry entry) throws IOException
      Deprecated.
      Throws:
      IOException
    • printProcedure

      private void printProcedure(Procedure<?> proc)
      Deprecated.
    • printHeader

      private void printHeader(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header)
      Deprecated.
    • run

      public int run(String[] args) throws IOException
      Deprecated.
      Pass one or more log file names and formatting options and it will dump out a text version of the contents on stdout. Command line arguments Thrown upon file system errors etc.
      Specified by:
      run in interface org.apache.hadoop.util.Tool
      Throws:
      IOException
    • main

      public static void main(String[] args) throws Exception
      Deprecated.
      Throws:
      Exception