hdfs 通过命令坏块监测和删除或者地址获取参数做监控

[[email protected] /data/dfs/nn/current]# hdfs fsck -list-corruptfileblocks
Connecting to namenode via http://nodecm.oldboy.org.cn:50070/fsck?ugi=root&listcorruptfileblocks=1&path=%2F
The filesystem under path '/' has 0 CORRUPT files

 

http://nodecm.oldboy.org.cn:50070/fsck?ugi=root&listcorruptfileblocks=1

 

[[email protected] ~]# hdfs fsck /rc.lcoal -delete

转载于:https://www.cnblogs.com/gaoyuechen/p/11308066.html

你可能感兴趣的:(hdfs 通过命令坏块监测和删除或者地址获取参数做监控)