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
原文地址:https://www.cnblogs.com/alexzhang92/p/10807454.html
时间: 2024-10-10 03:20:28