HDFS进入/退出安全模式
HDFS进入安全模式
hdfs dfsadmin -safemode enter HDFS退出安全模式
hadoop dfsadmin -safemode leave 永久退出安全模式
修改hdfs-site.xml文件,将value设置为1则不进行安全检查,默认值是0.999
dfs.safemode.threshold.pct 1f Specifies the percentage of blocks that should satisfythe minimal replication requirement defined by dfs.replication.min.Values less than or equal to 0 mean not to wait for any particularpercentage of blocks before exiting safemode.Values greater than 1 will make safe mode permanent.
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
