You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2009/12/09 00:59:18 UTC

[jira] Resolved: (HBASE-2033) Shell scan 'limit' is off by one

     [ https://issues.apache.org/jira/browse/HBASE-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans resolved HBASE-2033.
---------------------------------------

    Resolution: Fixed

Easy fix, committed to trunk and branch. Thanks to tbuckner for the tip.

> Shell scan 'limit' is off by one
> --------------------------------
>
>                 Key: HBASE-2033
>                 URL: https://issues.apache.org/jira/browse/HBASE-2033
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.2
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.20.3, 0.21.0
>
>
> Doing a scan in the shell with a limit is always off by 1 row because in the code we increment the counter at the beginning of the loop.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.