[ 
https://issues.apache.org/jira/browse/HBASE-8198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13616053#comment-13616053
 ] 

Lars Hofhansl commented on HBASE-8198:
--------------------------------------

seekBefore was mostly invented because we got the format .META. wrong (we 
should stored end-keys instead of startkeys). Specifically for .META. the 
ability to scan backwards was needed. While it works fine for .META. it is 
potentially extremely inefficient for the general case. Avoid it if you can.
                
> Backport HBASE-8063(Filter HFiles based on first/last key) into 0.94
> --------------------------------------------------------------------
>
>                 Key: HBASE-8198
>                 URL: https://issues.apache.org/jira/browse/HBASE-8198
>             Project: HBase
>          Issue Type: Improvement
>          Components: Scanners
>    Affects Versions: 0.94.6
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>         Attachments: 8198-0.94-v2.txt, HBASE-8198.txt
>
>
> KeyRange hint.
> One thing need to note is: there'is a few new test statement added in the end 
> of TestScannerSelectionUsingKeyRange file, comparing with trunk code, it's 
> schema metric related.(In deed, this is the original patch, trunk code were 
> removed due to schema metric compiling failed)
> I ran "mvn clean test -P localTests -Dtest=TestScannerSelectionUsingKeyRange" 
> locally and passed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to