0
我面临一个奇怪的情况,我从hdfs dfs -du
命令得到不同的结果,我看到cloudera
管理器UI
,我读到了2之间的差异,但没有任何线索可以帮助我来解决这个问题。HDFS存储检查显示不同的值
我也删除了所有的快照并且不允许它们,但是存储没有改变。
下面是输出:
[[email protected] root]$ hdfs dfs -du -h -s .
2.3 G 5.8 G .
[[email protected] root]$ hdfs dfs -du -h -s/
250.3 T 749.3 T
了Cloudera管理器UI
我还检查hdfs dfsadmin -report
这显示了同样的结果UI
Configured Capacity: 1.54 PB
DFS Used: 897.77 TB
Non DFS Used: 2.98 GB
DFS Remaining: 682.27 TB
DFS Used%: 56.82%
DFS Remaining%: 43.18%
Block Pool Used: 897.77 TB
Block Pool Used%: 56.82%
DataNodes usages% (Min/Median/Max/stdDev): 11.17%/58.94%/69.35%/13.31%
Live Nodes 45 (Decommissioned: 0)
Dead Nodes 0 (Decommissioned: 0)
Decommissioning Nodes 0
Total Datanode Volume Failures 0 (0 B)
Number of Under-Replicated Blocks 0
Number of Blocks Pending Deletion 0
Block Deletion Start Time 8/14/2017, 10:57:30 AM
第一所有的命令'hdfs dfs -du -h -s .'和'hdfs dfs -du -h -s /'是不同的。另外,我想你错过了从Cloudera UI提供输出。 – daemon12