0
votes

The HBase shell help for the count command states:

Count the number of rows in a table. This operation may take a LONG time (Run '$HADOOP_HOME/bin/hadoop jar hbase.jar rowcount' to run a counting mapreduce job).

Is it supposed to run this MapReduce job the normal way, via the JobTracker? Am I supposed to see it in the JobTracker history?

1

1 Answers

3
votes

No. The hbase shell count operation is not using MapReduce- it is counting rows by advancing a cursor.

As the documentation that you posted states, run Run '$HADOOP_HOME/bin/hadoop jar hbase.jar rowcount to run a counting mapreduce job