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

猜你喜欢

转载自www.cnblogs.com/gaoyuechen/p/11308066.html