[
https://issues.apache.org/jira/browse/HBASE-9086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723711#comment-13723711
]
Jean-Marc Spaggiari commented on HBASE-9086:
--------------------------------------------
Hi [~sun.cheney], me again ;)
In trunk, usage is
{code}
"Usage: RowCounter [options] <tablename> " +
"[--range=[startKey],[endKey]] [<column1> <column2>...]");
{code}
Which mean you can already give a column.
Same thing in 0.94
{code}
"Usage: RowCounter [options] <tablename> " +
"[--range=[startKey],[endKey]] [<column1> <column2>...]"
{code}
Also, only the first key is retrieved:
{code}
scan.setFilter(new FirstKeyOnlyFilter());
{code}
Can you please detail a bit more the improvements you are looking for?
> Add some options to improve count performance
> ---------------------------------------------
>
> Key: HBASE-9086
> URL: https://issues.apache.org/jira/browse/HBASE-9086
> Project: HBase
> Issue Type: Wish
> Components: shell
> Affects Versions: 0.94.2
> Reporter: Cheney Sun
>
> The current count command in HBase shell is quite slow if the row size is
> very big (100+kB each). It would be helpful to provide some option to specify
> the column to count, which could give user a chance to reduce the data volume
> to scan.
> IMHO, only count the row key would be the ideal solution. Not sure how
> difficult to implement it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira