Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Couting number of records in a HBase table


Copy link to this message
-
Re: Couting number of records in a HBase table
James Taylor 2013-05-28, 22:45
Another option is Phoenix (https://github.com/forcedotcom/phoenix),
where you'd do
     SELECT count(*) FROM my_table

Regards,
James

On 05/28/2013 03:25 PM, Ted Yu wrote:
> Take a look at http://hbase.apache.org/book.html#rowcounter
>
> Cheers
>
> On Tue, May 28, 2013 at 3:23 PM, Shahab Yunus <[EMAIL PROTECTED]>wrote:
>
>> Is there a faster way to get the count of rows in a HBase table
>> (potentially a huge one)? I am looking for ways other than the 'count'
>> shell command or any Pig script? Thanks.
>>
>> Regards,
>> Shahab
>>