[
https://issues.apache.org/jira/browse/HBASE-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cosmin Lehene reassigned HBASE-5224:
------------------------------------
Assignee: Cosmin Lehene (was: Mikhail Bautin)
> midkey() returns 12 extra bytes in HFile v2
> -------------------------------------------
>
> Key: HBASE-5224
> URL: https://issues.apache.org/jira/browse/HBASE-5224
> Project: HBase
> Issue Type: Bug
> Reporter: Mikhail Bautin
> Assignee: Cosmin Lehene
> Priority: Minor
>
> HFile's midkey() is implemented as the first key of the middle index block
> both HFile v1 and HFile v2 (the middle leaf index block is used in v2).
> However, in HFile v2 midkey() currently grabs 12 more bytes from the next
> leaf index entry, representing the offset and compressed size of the data
> block pointed to by that entry. While this probably does not affect the
> interpretation of the returned buffer as an HBase key (the last 12 bytes are
> simply discarded), this has to be cleaned up.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)