Class FaultyProtobufWALStreamReader
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufWALReader
org.apache.hadoop.hbase.regionserver.wal.ProtobufWALStreamReader
org.apache.hadoop.hbase.regionserver.wal.FaultyProtobufWALStreamReader
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.hbase.wal.AbstractFSWALProvider.Initializer,org.apache.hadoop.hbase.wal.WALStreamReader
public class FaultyProtobufWALStreamReader
extends org.apache.hadoop.hbase.regionserver.wal.ProtobufWALStreamReader
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) Queue<org.apache.hadoop.hbase.wal.WAL.Entry>(package private) intFields inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufWALReader
byteStringUncompressor, cellDecoder, codecClsName, compressionCtx, conf, decryptor, DEFAULT_WAL_TRAILER_WARN_SIZE, fileLength, fs, hasCompression, hasTagCompression, hasValueCompression, inputStream, path, PB_WAL_COMPLETE_MAGIC, PB_WAL_MAGIC, trailer, trailerPresent, trailerWarnSize, valueCompressionType, WAL_TRAILER_WARN_SIZE, walEditsStopOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) FaultyProtobufWALStreamReader.FailureTypeorg.apache.hadoop.hbase.wal.WAL.Entrynext(org.apache.hadoop.hbase.wal.WAL.Entry reuse) Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.ProtobufWALStreamReader
getCellCodecInputStream, skipToMethods inherited from class org.apache.hadoop.hbase.regionserver.wal.AbstractProtobufWALReader
close, extractHiddenEof, getCodecClsName, getPosition, getPositionQuietly, getWriterClsNames, init, initWALCellCodec, isWALTrailer, open, reachWALEditsStopOffset, readHeader, readTrailer, trailerSizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.wal.AbstractFSWALProvider.Initializer
initMethods inherited from interface org.apache.hadoop.hbase.wal.WALStreamReader
close, getPosition, next
-
Field Details
-
nextQueue
-
numberOfFileEntries
-
-
Constructor Details
-
FaultyProtobufWALStreamReader
public FaultyProtobufWALStreamReader()
-
-
Method Details
-
getFailureType
-
next
public org.apache.hadoop.hbase.wal.WAL.Entry next(org.apache.hadoop.hbase.wal.WAL.Entry reuse) throws IOException - Specified by:
nextin interfaceorg.apache.hadoop.hbase.wal.WALStreamReader- Overrides:
nextin classorg.apache.hadoop.hbase.regionserver.wal.ProtobufWALStreamReader- Throws:
IOException
-