hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Row Counters
Date Wed, 16 Mar 2011 20:40:22 GMT
On Wed, Mar 16, 2011 at 1:35 PM, Vivek Krishna <vivekrishna@gmail.com> wrote:
> 1.  How do I count rows fast in hbase?
>
> First I tired count 'test'  , takes ages.
>
> Saw that I could use RowCounter, but looks like it is deprecated.

It is not.  Make sure you are using the one from mapreduce package as
opposed to mapred package.


> I just need to verify the total counts.  Is it possible to see somewhere in
> the web interface or ganglia or by any other means?
>

We don't keep a current count on a table.  Too expensive.  Run the
rowcounter MR job.  This page may be of help:
http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/mapreduce/package-summary.html#package_description

Good luck,
St.Ack

Mime
View raw message