如何确定我的HBase表的大小?有没有命令这样做? [英] How do I determine the size of my HBase Tables ?. Is there any command to do so?
本文介绍了如何确定我的HBase表的大小?有没有命令这样做?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
gautham
解决方案
p>尝试
hdfs dfs -du -h / hbase / data / default /
(或/ hbase /取决于您使用的hbase版本) 这将显示表的文件使用了多少空间。
希望有所帮助。
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
解决方案
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.
这篇关于如何确定我的HBase表的大小?有没有命令这样做?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文