If you are interested row count only (and not want to fetch the table rows
to your client side), you can also try out
https://issues.apache.org/jira/browse/HBASE-1512.
PS: Which version you are on? The above patch is in main trunk as of now, so
to use it you would have to checkout the code and
Yes, I was using default caching, setting this value to few thousands
made significant difference in performance, I'll experiment more with
this option.
Right now I want to stay away from MR, mainly because of cluster warm-up
time, and I want to get results almost real-time (few seconds max).
Yes, you can define your scan object at the client side and pass to the
AggregateClient.rowCount. You can refer to AggregateClient javadoc and
associated TestAggregateProtocol test methods to get an idea.
Thanks,
Himanshu
On Sun, May 1, 2011 at 12:29 PM, Wojciech Langiewicz
: Wojciech Langiewicz [mailto:wlangiew...@gmail.com]
Sent: Sunday, May 01, 2011 2:12 PM
To: user@hbase.apache.org
Subject: Re: Row count without iterating over ResultScanner?
Yes, I was using default caching, setting this value to few thousands made
significant difference in performance, I'll
Hi,
There's a row counter app in the hbase release that's a m/r job.
You could also do a dynamic counter too.
Sent from a remote device. Please excuse any typos...
Mike Segel
On May 1, 2011, at 8:44 AM, Wojciech Langiewicz wlangiew...@gmail.com wrote:
Hi,
I would like to know if there's a