hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guangxu Cheng (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-17831) Support small scan in thrift2
Date Mon, 27 Mar 2017 12:06:41 GMT

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

Guangxu Cheng commented on HBASE-17831:

For master branch, have you seen this ?
public Scan setSmall(boolean small) {

Sorry, I hadn't noticed.
Small scan should use pread and openScanner,next,closeScanner in one RPC call.
After HBASE-17508 and HBASE-17045, the implementation of small scan and regular scan is unified.
regular scan also has one rpc optimization and use pread by setReadType(ReadType).
For master branch, setReadType(ReadType) instead of setSmall(small) maybe more better, Right?

> Support small scan in thrift2
> -----------------------------
>                 Key: HBASE-17831
>                 URL: https://issues.apache.org/jira/browse/HBASE-17831
>             Project: HBase
>          Issue Type: Improvement
>          Components: Thrift
>            Reporter: Guangxu Cheng
>         Attachments: HBASE-17831-branch-1.patch, HBASE-17831-master.patch
> Support small scan in thrift2

This message was sent by Atlassian JIRA

View raw message