I read Displaying the Number of Rows that are in a Table but couldn't find an answer.
The MapR CLI command returns a best estimate number. If you update a row twice, it will be counted twice. The HBase shell command returns an actual number because it scans the whole table and counts the rows.
The MapR estimate is based on the segment information produced when a segment is packed and a count of puts to those segments. Therefore, it does not reflect a count. It’s an estimate that tends to reflect the actual number of rows. The row count in MapR-DB is only accurate after a full pack. You can force a full pack to get an accurate row count, but this is too expensive. Of course, you can use the HBase shell to count rows accurately with MapR-DB. However, this is a very expensive operation.
Retrieving data ...