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

Subbu M Iyer commented on HBASE-3488:
-------------------------------------

Submitted version 2 of the patch.

1. Fixed the comments per Stack's suggestion.
2. Added a Regex/Prefix based row filter to limit the counter to work on a 
smaller subset of rows
3. Changed the Bytes.toString to Bytes.toStringBinary.
4. Parameterized the row/cf/qualifier separator string.  

> Allow RowCounter to retrieve multiple versions of rows
> ------------------------------------------------------
>
>                 Key: HBASE-3488
>                 URL: https://issues.apache.org/jira/browse/HBASE-3488
>             Project: HBase
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.90.0
>            Reporter: Ted Yu
>             Fix For: 0.92.0
>
>         Attachments: 
> 3488-Allow_RowCounter_to_retrieve_multiple_versions_of_rows-version2.patch, 
> 3488-Allow_RowCounter_to_retrieve_multiple_versions_of_rows.patch
>
>
> Currently RowCounter only retrieves latest version for each row.
> Some applications would store multiple versions for the same row.
> RowCounter should accept a new parameter for the number of versions to return.
> Scan object would be configured with version parameter (for scan.maxVersions).
> Then the following API should be called:
> {code}
>   public KeyValue[] raw() {
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to