hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16838) Implement basic scan
Date Fri, 04 Nov 2016 23:06:58 GMT

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

Duo Zhang commented on HBASE-16838:

There is another reason for smallScan is the limit. Maybe we could add it to scan? Otherwise
the RS can not know the scan is exhausted. We need to also modify the logic of RS to support
it? And the small flag is deprecated then?

And in general, the scan method introduced here is only for experts, we do not want every
user to call it directly. But for a small scan it just returns a CompletableFuture so it is
much easier to use.


> Implement basic scan
> --------------------
>                 Key: HBASE-16838
>                 URL: https://issues.apache.org/jira/browse/HBASE-16838
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0
>         Attachments: HBASE-16838-v1.patch, HBASE-16838-v2.patch, HBASE-16838.patch
> Implement a scan works like the grpc streaming call that all returned results will be
passed to a ScanObserver. The methods of the observer will be called directly in the rpc framework
threads so it is not allowed to do time consuming work in the methods. So in general only
experts or the implementation of other methods in AsyncTable can call this method directly,
that's why I call it 'basic scan'.

This message was sent by Atlassian JIRA

View raw message