hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bejoy.had...@gmail.com
Subject Re: SafeModeException: Cannot delete <directory_path>. Name node is in safe mode.
Date Wed, 05 Oct 2011 08:36:05 GMT
Hi Abdelrahman Kamel
        Your Name Node is in safe mode now. Either wait till it automatically comes out of
safe mode or you can manually make it exit the safe mode by the following command

hadoop dfsadmin -safemode leave

If you cluster was not put on safe mode manually and it happened during start up then it would
get out of safe mode automatically when a certain percentage of blocks satisfies minimum replication
condition.
 
Hope it helps!


------Original Message------
From: Abdelrahman Kamel
To: common-user@hadoop.apache.org
ReplyTo: common-user@hadoop.apache.org
Subject: SafeModeException: Cannot delete <directory_path>. Name node is in safe mode.
Sent: Oct 5, 2011 13:47

Hi all,

I got this exception trying to delete a directory from HDFS.

hduser@hdmaster:/usr/local/hadoop$ *bin/hadoop dfs -rmr
/user/hduser/gutenberg-output*
rmr: org.apache.hadoop.hdfs.server.namenode.*SafeModeException: Cannot
delete /user/hduser/gutenberg-output. Name node is in safe mode.*

Could anyone help me get rid of it.
Thanks.


-- 
Abdelrahman Kamel



Regards
Bejoy K S
Mime
View raw message