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
Modifier and TypeFieldDescriptionprivate 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
ConstructorDescriptionProcedureWALFile
(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 TypeMethodDescription(package private) void
addToSize
(long size) Deprecated.Used to update in-progress log sizes.void
close()
Deprecated.int
compareTo
(ProcedureWALFile other) Deprecated.boolean
Deprecated.org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader
Deprecated.long
getLogId()
Deprecated.long
Deprecated.long
Deprecated.long
getSize()
Deprecated.org.apache.hadoop.fs.FSDataInputStream
Deprecated.long
Deprecated.Deprecated.int
hashCode()
Deprecated.boolean
Deprecated.void
open()
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.toString()
Deprecated.void
updateLocalTracker
(ProcedureStoreTracker tracker) Deprecated.
-
Field Details
-
LOG
Deprecated. -
header
Deprecated. -
stream
Deprecated. -
fs
Deprecated. -
logFile
Deprecated. -
startPos
Deprecated. -
minProcId
Deprecated. -
maxProcId
Deprecated. -
logSize
Deprecated. -
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
-
getTracker
Deprecated. -
open
Deprecated.- Throws:
IOException
-
readTrailer
public org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALTrailer readTrailer() throws IOExceptionDeprecated.- Throws:
IOException
-
readTracker
Deprecated.- Throws:
IOException
-
updateLocalTracker
Deprecated. -
close
Deprecated. -
getStream
Deprecated. -
getHeader
public org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureWALHeader getHeader()Deprecated. -
getTimestamp
Deprecated. -
isCompacted
Deprecated. -
getLogId
Deprecated. -
getSize
Deprecated. -
addToSize
Deprecated.Used to update in-progress log sizes. the FileStatus will report 0 otherwise. -
removeFile
Deprecated.- Throws:
IOException
-
setProcIds
Deprecated. -
getMinProcId
Deprecated. -
getMaxProcId
Deprecated. -
compareTo
Deprecated.- Specified by:
compareTo
in interfaceComparable<ProcedureWALFile>
-
equals
Deprecated. -
hashCode
Deprecated. -
toString
Deprecated.
-