Number of rows in hbase statistics table

1. count command

    hbase(main):001:0> count 'mobile_info'

    hbase(main):001:0> count 'mobile_info',INTERVAL=2000

   //INTERVAL: line number interval

2. The mapreduce that comes with hbase

    -bash-4.1# hbase org.apache.hadoop.hbase.mapreduce.RowCounter 'mobile_info'

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326960271&siteId=291194637