hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12915) Disallow small scan with batching
Date Mon, 26 Jan 2015 04:39:35 GMT

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

Lars Hofhansl commented on HBASE-12915:
---------------------------------------

Small scanning does not make any sense with batching anyway, since batching is needed for
large single rows that we do not want to bring back in a single RPC. Re-seeking multiple times
with the ClientSmallScanner is inefficient in this case.

+1 to disabling the combination.

Do you want an exception, or just quietly fall back to the normal scanner?


> Disallow small scan with batching
> ---------------------------------
>
>                 Key: HBASE-12915
>                 URL: https://issues.apache.org/jira/browse/HBASE-12915
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 12915-001.txt, 12915-001.txt
>
>
> If user sets batching in Scan object, ClientSmallScanner may return unexpected result
because data from same row may appear in multiple Result objects but ClientSmallScanner considers
different Results to correspond to different rows.
> Small scan with batching should be disallowed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message