【转】hadoop 报 Name node is in safe mode 错

运行hadoop程序时, 中途我把它终止了,然后再向hdfs加文件或删除文件时,出现Name node is in safe mode错误:
rmr: org.apache.hadoop.dfs.SafeModeException: Cannot delete /user/hadoop/input. Name node is in safe mode

解决的命令:

bin/hadoop dfsadmin -safemode leave #关闭safe mode

 

原文地址:http://shutiao2008.iteye.com/blog/318950

posted on 2012-03-15 22:30  kafony  阅读(204)  评论(0编辑  收藏  举报

导航