hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Row Counters
Date Wed, 16 Mar 2011 20:42:43 GMT
$ ./bin/hadoop jar hbase*.jar rowcounter

Search for related discusson on search-hadoop

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.  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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message