Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.94.0
-
None
-
Reviewed
Description
When reading a .92 HFile without checksums, encoding it, and storing in the block cache, the HFileDataBlockEncoderImpl always allocates a dummy header appropriate for checksums even though there are none. This corrupts the byte[].
Attaching a patch that allocates a DUMMY_HEADER_NO_CHECKSUM in that case which I think is the desired behavior.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-5074 support checksums in HBase block cache
- Closed