[
https://issues.apache.org/jira/browse/HBASE-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988413#action_12988413
]
Ted Yu commented on HBASE-3488:
-------------------------------
This JIRA was filed as improvement. We expect different values to co-exist
(through versions) for the same row key in our table.
In RowCounter, I see:
{code}
Scan scan = new Scan();
{code}
This ctor assigns 1 to maxVersions.
It is desirable to assign other value as maxVersions so that we know the
correct number of rows in the table.
Description of FirstKeyOnlyFilter usage above holds.
> 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.
> Then the following API should be called:
> {code}
> public NavigableMap<byte[], NavigableMap<byte[], NavigableMap<Long,
> byte[]>>> getMap() {
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.