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

Alex Baranau commented on HBASE-2038:
-------------------------------------

Yeah, same thought here: use fast-forwarding filter (the one which provides 
hints for the next row to forward to). I guess we can add such filter to a scan 
as a hook in open scan (on region level) time. 

I guess ideally we'd want to add such filter for RegionScanner in 
postScannerOpen(). Though RegionScanner interface does not exposes filters 
info. We could try to cast it to particular class but it may be too unsafe.

Alternatively we could try to modify Scan object (add filters), but this is 
obviously too bad approach as this object is reused across regions.

May be we can hear some advice from Coprocessor feature devs? ;)
                
> Coprocessors: Region level indexing
> -----------------------------------
>
>                 Key: HBASE-2038
>                 URL: https://issues.apache.org/jira/browse/HBASE-2038
>             Project: HBase
>          Issue Type: New Feature
>          Components: coprocessors
>            Reporter: Andrew Purtell
>            Priority: Minor
>
> HBASE-2037 is a good candidate to be done as coprocessor. It also serve as a 
> good goalpost for coprocessor environment design -- there should be enough of 
> it so region level indexing can be reimplemented as a coprocessor without any 
> loss of functionality. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to