hi hua, using command $ bin/hbase org.apache.hadoop.hbase.mapreduce.RowCounter <tablename> [<column1> <column2>...]
it will report you the ROWS. or you can write a MapReduce tool yourself to count the rows. or you can run command in hbase shell: hbase(main):005:0> scan 't1',FILTER=>"FirstKeyOnlyFilter()" ... 6 row(s) in 0.0730 seconds this is a alternative choice for row count. see HBase Reference Guide Chinese version: http://abloz.com/hbase/book.html Andy 2013/1/5 Azuryy Yu <[email protected]> > using Coprocessor: rowcount > > > On Sat, Jan 5, 2013 at 2:23 AM, hua beatls <[email protected]> wrote: > > > Hi, > > is there any easy way to know how many records in the hbase, hive or > > coprocessor? > > > > Thanks! > > > > beatls > > >
