hdfs 通过命令或者地址获取参数做监控
作者:互联网
[root@nodecm.oldboy.org.cn /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
标签:hdfs,cn,nodecm,oldboy,fsck,地址,监控,org,root 来源: https://www.cnblogs.com/gaoyuechen/p/11308066.html