Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
Description
When we read from HDFS, we overread to pick up the next blocks header.
Doing this saves a seek as we move through the hfile; we save having to
do an explicit seek just to read the block header every time we need to
read the body. We used to read in the next header as part of the
current blocks buffer. This buffer was then what got persisted to
blockcache; so we were over-persisting wrtiting out our block plus the
next blocks' header (overpersisting 33 bytes). Parse of HFileBlock
complicated by this extra tail. Fix.
Attachments
Attachments
Issue Links
- relates to
-
HBASE-15713 Backport "HBASE-15477 Do not save 'next block header' when we cache hfileblocks"
- Resolved
- links to