Class TestWALEntryStreamCompressionReset
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.TestWALEntryStreamCompressionReset
Enable compression and reset the WALEntryStream while reading in ReplicationSourceWALReader.
This is used to confirm that we can work well when hitting EOFException in the middle when
reading a WAL entry, when compression is enabled. See HBASE-27621 for more details.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static intprivate static byte[]private static org.apache.hadoop.fs.FileSystemprivate static Stringprivate static org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceLogQueueprivate static org.apache.hadoop.hbase.replication.regionserver.MetricsSourceprivate static org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControlprivate static org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceWALReaderprivate static org.apache.hadoop.hbase.client.RegionInfoprivate static NavigableMap<byte[],Integer> private static org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceprivate static org.apache.hadoop.hbase.TableNameprivate static org.apache.hadoop.fs.Pathprivate static final HBaseTestingUtilprivate static org.apache.hadoop.fs.Pathprivate static long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CLASS_RULE
-
UTIL
-
TABLE_NAME
-
REGION_INFO
-
FAMILY
-
MVCC
-
SCOPE
-
GROUP_ID
-
FS
-
SOURCE
-
METRICS_SOURCE
-
LOG_QUEUE
-
TEMPLATE_WAL_FILE
-
END_OFFSET_OF_WAL_ENTRIES
-
WAL_FILE
-
WAL_LENGTH
-
READER
-
-
Constructor Details
-
TestWALEntryStreamCompressionReset
public TestWALEntryStreamCompressionReset()
-
-
Method Details