hdfs 查看报告--命令(hdfs dfsadmin -report)

[hadoop@master sbin]$ hdfs dfsadmin -report
Configured Capacity: 8202977280 (7.64 GB)
Present Capacity: 4421812224 (4.12 GB)
DFS Remaining: 4046110720 (3.77 GB)
DFS Used: 375701504 (358.30 MB)
DFS Used%: 8.50%
Under replicated blocks: 88
Blocks with corrupt replicas: 0
Missing blocks: 0

-------------------------------------------------
Live datanodes (2):

Name: 192.168.244.101:50010 (slave1)
Hostname: slave1
Decommission Status : Normal
Configured Capacity: 4101488640 (3.82 GB)
DFS Used: 187850752 (179.15 MB)
Non DFS Used: 2109939712 (1.97 GB)
DFS Remaining: 1803698176 (1.68 GB)
DFS Used%: 4.58%
DFS Remaining%: 43.98%
Configured Cache Capacity: 0 (0 B)
Cache Used: 0 (0 B)
Cache Remaining: 0 (0 B)
Cache Used%: 100.00%
Cache Remaining%: 0.00%
Xceivers: 1
Last contact: Mon Dec 11 18:32:32 CST 2017


Name: 192.168.244.102:50010 (slave2)
Hostname: slave2
Decommission Status : Normal
Configured Capacity: 4101488640 (3.82 GB)
DFS Used: 187850752 (179.15 MB)
Non DFS Used: 1671225344 (1.56 GB)
DFS Remaining: 2242412544 (2.09 GB)
DFS Used%: 4.58%
DFS Remaining%: 54.67%
Configured Cache Capacity: 0 (0 B)
Cache Used: 0 (0 B)
Cache Remaining: 0 (0 B)
Cache Used%: 100.00%
Cache Remaining%: 0.00%
Xceivers: 1
Last contact: Mon Dec 11 18:32:32 CST 2017

 

可以查看是否处于安全模式!!!

posted @ 2017-12-11 18:33  大漠之烟  阅读(5590)  评论(0编辑  收藏  举报