HDFS可用空间可用命令 [英] HDFS free space available command
本文介绍了HDFS可用空间可用命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有hdfs命令查看hdfs中的可用空间。我们可以通过浏览器在主浏览器中看到:hdfsport在浏览器中,但由于某种原因,我无法访问它,我需要一些命令。
通过命令./bin/hadoop fs -du -h可以看到我的磁盘使用情况,但无法看到可用空间。
Is there a hdfs command to see available free space in hdfs. We can see that through browser at master:hdfsport in browser , but for some reason I can't access this and I need some command. I can see my disk usage through command ./bin/hadoop fs -du -h but cannot see free space available.
感谢您提前回答。
推荐答案
试试这个:
Try this:
hdfs dfsadmin -report
使用旧版本的Hadoop,试试这个:
With older versions of Hadoop, try this:
hadoop dfsadmin -report
这篇关于HDFS可用空间可用命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文