Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
HFileContext defaults can lead to inconsistency with expectations of HFile block header sizing between readers and writers. In HConstants the default block header is now the one including checksum, but by default HFileContext has useHBaseChecksum set to false. If creating readers and writers directly rather than going through HFile, you can end up with a writer producing block headers including the checksum and a reader expecting headers without, leading to sad results. Minor issue but worth looking at to avoid surprises.