[ 
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)

Reply via email to