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

Nihal Jain commented on HBASE-21636:
------------------------------------

Thanks for the review [~stack]. I think that logic was added when hbase didnot 
have a way to limit number of rows to be returned. Now we can achieve the same 
using scan.setLimit. Hence I made this change. I mentioned the same in issue 
description too.

> Enhance the shell scan command to support missing scanner specifications like 
> ReadType, IsolationLevel etc.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-21636
>                 URL: https://issues.apache.org/jira/browse/HBASE-21636
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 3.0.0, 2.0.0, 2.1.2
>            Reporter: Nihal Jain
>            Assignee: Nihal Jain
>            Priority: Major
>         Attachments: HBASE-21636.master.001.patch, 
> HBASE-21636.master.002.patch
>
>
> Enhance the shell scan command to support scanner specifications:
>  - ReadType
>  - IsolationLevel
>  - Region replica id
>  - Allow partial results
>  - Batch
>  - Max result size
> Also, make use of \{{limit}} and set it in the scan object to limit the 
> number of rows returned by the scanner.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to