Search code examples
hadoopexporthbasebigdata

How do I determine the size of my HBase Tables ?. Is there any command to do so?


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


Solution

  • 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.