hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3488) Allow RowCounter to retrieve multiple versions of rows
Date Sat, 29 Jan 2011 16:43:43 GMT

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

Jonathan Gray commented on HBASE-3488:

I still don't understand.

Regardless of how many versions there are, setting maxVersions to 1 is fine.  That says just
return the latest.

You don't need more than one version to be returned for the row to exist.  All you need is
the latest version of a single column (FirstKeyOnlyFilter + maxVersions=1).

> 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
> 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.
You can reply to this email to add a comment to the issue online.

View raw message