I think topic starter prefers something like:
"select count(*) from table" and not to launch M/R job
for this purpose.

Best regards,
Vladimir Rodionov
Principal Platform Engineer
Carrier IQ, www.carrieriq.com

________________________________________
From: [email protected] [[email protected]] On Behalf Of Jean-Daniel Cryans 
[[email protected]]
Sent: Thursday, July 29, 2010 2:26 PM
To: [email protected]
Subject: Re: count of rows in table

In 0.89 you can specify CACHE for the count command. Set it higher (it
defaults to 10 rows per call).

Also you can use the RowCounter MR job.

J-D

On Thu, Jul 29, 2010 at 2:22 PM, Ted Yu <[email protected]> wrote:
> Hi,
> The count method in HBase shell is quite slow.
> Is there a way to obtain count faster ?
>
> Thanks
>

Reply via email to