Class ProcedureWALFile

java.lang.Object
org.apache.hadoop.hbase.procedure2.store.wal.ProcedureWALFile
All Implemented Interfaces:
Comparable<ProcedureWALFile>

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.
Describes a WAL File
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private org.apache.hadoop.fs.FileSystem
    Deprecated.
     
    private org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader
    Deprecated.
     
    private static final org.slf4j.Logger
    Deprecated.
     
    private org.apache.hadoop.fs.Path
    Deprecated.
     
    private long
    Deprecated.
     
    private long
    Deprecated.
     
    private long
    Deprecated.
     
    private long
    Deprecated.
     
    private org.apache.hadoop.fs.FSDataInputStream
    Deprecated.
     
    private long
    Deprecated.
     
    private final ProcedureStoreTracker
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProcedureWALFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.FileStatus logStatus)
    Deprecated.
     
    ProcedureWALFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path logFile, org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header, long startPos, long timestamp)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    addToSize(long size)
    Deprecated.
    Used to update in-progress log sizes.
    void
    Deprecated.
     
    int
    Deprecated.
     
    boolean
    Deprecated.
     
    org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader
    Deprecated.
     
    long
    Deprecated.
     
    long
    Deprecated.
     
    long
    Deprecated.
     
    long
    Deprecated.
     
    org.apache.hadoop.fs.FSDataInputStream
    Deprecated.
     
    long
    Deprecated.
     
    Deprecated.
     
    int
    Deprecated.
     
    boolean
    Deprecated.
     
    void
    Deprecated.
     
    void
    Deprecated.
     
    org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALTrailer
    Deprecated.
     
    void
    removeFile(org.apache.hadoop.fs.Path walArchiveDir)
    Deprecated.
     
    void
    setProcIds(long minId, long maxId)
    Deprecated.
     
    Deprecated.
     
    void
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • LOG

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

      private org.apache.hadoop.fs.FSDataInputStream stream
      Deprecated.
    • fs

      private org.apache.hadoop.fs.FileSystem fs
      Deprecated.
    • logFile

      private org.apache.hadoop.fs.Path logFile
      Deprecated.
    • startPos

      private long startPos
      Deprecated.
    • minProcId

      private long minProcId
      Deprecated.
    • maxProcId

      private long maxProcId
      Deprecated.
    • logSize

      private long logSize
      Deprecated.
    • timestamp

      private long timestamp
      Deprecated.
    • tracker

      Deprecated.
  • Constructor Details

    • ProcedureWALFile

      public ProcedureWALFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.FileStatus logStatus)
      Deprecated.
    • ProcedureWALFile

      public ProcedureWALFile(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path logFile, org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader header, long startPos, long timestamp)
      Deprecated.
  • Method Details