I have multiple tables on my Hbase shell that I would like to copy onto my file system. Some tables exceed 100gb. However, I only have 55gb free space left in my local file system. Therefore, I would like to know the size of my hbase tables so that I could export only the small sized tables. Any suggestions are appreciated.
Thanks, gautham
Hey, list is the command that is used to list all the tables in HBase.
HBase provide many data manipulation shell commands that you can use on the interactive shell to manipulate the data. The Commonly used HBase data manipulation shell commands are: Count, Put, Get, Delete, Delete all, Truncate, Scan.
try
hdfs dfs -du -h /hbase/data/default/
(or /hbase/ depending on hbase version you use)
This will show how much space is used by files of your tables.
Hope that will help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With