Package org.apache.hadoop.hbase.wal
Class TestWALFactory.BrokenWALCellCodec
java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.WALCellCodec
org.apache.hadoop.hbase.wal.TestWALFactory.BrokenWALCellCodec
- All Implemented Interfaces:
org.apache.hadoop.hbase.codec.Codec
- Enclosing class:
- TestWALFactory
private static class TestWALFactory.BrokenWALCellCodec
extends org.apache.hadoop.hbase.regionserver.wal.WALCellCodec
A custom WALCellCodec in which we can inject failure.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.wal.WALCellCodec
org.apache.hadoop.hbase.regionserver.wal.WALCellCodec.ByteStringCompressor, org.apache.hadoop.hbase.regionserver.wal.WALCellCodec.ByteStringUncompressor, org.apache.hadoop.hbase.regionserver.wal.WALCellCodec.EnsureKvEncoder
Nested classes/interfaces inherited from interface org.apache.hadoop.hbase.codec.Codec
org.apache.hadoop.hbase.codec.Codec.Decoder, org.apache.hadoop.hbase.codec.Codec.Encoder
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.wal.WALCellCodec
compression, WAL_CELL_CODEC_CLASS_KEY
-
Constructor Summary
ConstructorDescriptionBrokenWALCellCodec
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.wal.CompressionContext compression) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.WALCellCodec
create, create, getByteStringCompressor, getByteStringUncompressor, getDecoder, getDecoder, getEncoder, getNoneCompressor, getNoneUncompressor, getWALCellCodecClass
-
Field Details
-
THROW_FAILURE_ON_INIT
-
-
Constructor Details
-
BrokenWALCellCodec
public BrokenWALCellCodec() -
BrokenWALCellCodec
public BrokenWALCellCodec(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.wal.CompressionContext compression)
-
-
Method Details
-
maybeInjectFailure
-