On Wed, Mar 16, 2011 at 1:35 PM, Vivek Krishna <[email protected]> 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
