Matthew Moisen
Matthew Moisen

Reputation: 18289

Command to see how large a MapR-DB Table is?

Is there a command to see how big a MapR-DB table is?

I tried du -sh on the POSIX client but all of my tables are the same size, so I assume this is incorrect.

Upvotes: 0

Views: 559

Answers (1)

Tug Grall
Tug Grall

Reputation: 3510

As you experimented, using the file system does not help that much. Also when you are using a MapR DB Table you cannot use the hbase shell status command.

The solution is to use the maprcli table info command, something like:

maprcli table info -path '/apps/table01' -json

This will give you many information about the table.

I invite you to look at the documentation:

Upvotes: 1

Related Questions