[
https://issues.apache.org/jira/browse/HBASE-1841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778055#action_12778055
]
ryan rawson commented on HBASE-1841:
------------------------------------
seekBefore() exists to implement "getClosestRowBefore" which is how the .META.
lookup works. This is how clients find which regionserver hosts which region.
Needless to say we want this to keep on working.
It might be possible to change how META works, to use first key of the region,
but that requires a huge patch to touch nearly every part of hbase in one go,
including all the tests. In fact you might have to accentuate the tests
substantially, since what we have works now, and the change might do who knows
what.
Bigtable paper aside, what we have now works, and doesn't present any specific
problems other than the ideologically purity of adhering to exactly what Google
did.
> If multiple of same key in an hfile and they span blocks, may miss the
> earlier keys on a lookup
> -----------------------------------------------------------------------------------------------
>
> Key: HBASE-1841
> URL: https://issues.apache.org/jira/browse/HBASE-1841
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: stack
> Assignee: Schubert Zhang
> Fix For: 0.21.0
>
> Attachments: HBASE-1841-step1-v2.patch, HBASE-1841-step2-v2.patch
>
>
> See HBASE-818 for description by Schubert Zhang -- discovered by him doing a
> code review of hfile.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.