分享

是不是安全模式下Cannot delete /home/hadoop/tmp/mapred/system. Name node is in...

[hadoop@rhel logs]$ hadoop dfsadmin -safemode get
Safe mode is ON
[hadoop@rhel logs]$ jps
2255 TaskTracker
2542 Jps
2141 JobTracker
1889 NameNode
2060 SecondaryNameNode
[hadoop@rhel logs]$
这是正常情况吗?
是不是安全模式下,没有datanode
报错如下:
org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot delete /home/hadoop/tmp/mapred/system. Name node is in safe mode.
The ratio of reported blocks 0.0000 has not reached the threshold 0.9990. Safe mode will be turned off automatically.

已有(2)人评论

跳转到指定楼层
nettman 发表于 2013-12-1 17:06:11
你重启一下
回复

使用道具 举报

desehawk 发表于 2013-12-1 17:06:49
重启hadoop就好了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条