$ ./bin/hadoop jar hbase*.jar rowcounter

Search for related discusson on search-hadoop

On Wed, Mar 16, 2011 at 1:35 PM, Vivek Krishna <vivekris...@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.  When I
> try to use it, I get
>
> java.io.IOException: Cannot create a record reader because of a previous
> error. Please look at the previous logs lines from the task's full log for
> more details.
> at
>
> org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.createRecordReader(TableInputFormatBase.java:98)
>
> If this is deprecated, is there any other way of finding the counts?
>
> 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?
>
> Viv
>

Reply via email to