hadoop退出安全模式Name node is in safe mode
Posted alexzhang92
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hadoop退出安全模式Name node is in safe mode相关的知识,希望对你有一定的参考价值。
18/01/12 09:04:34 INFO fs.TrashPolicyDefault: Namenode trash configuration: Deletion interval = 0 minutes, Emptier interval = 0 minutes. rm: Cannot delete /spark/data/netflow/201801120325.txt. Name node is in safe mode.
hadoop
处于安全模式,所以需要退出安全模式,一般以如下方法可以解决:
hadoop dfsadmin -safemode leave
实在不行还可以用如下方式:
hdfs dfsadmin -safemode leave