Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # user - Cannot renew lease for DFSClient_977492582. Name node is in safe mode in AWS


Copy link to this message
-
Re: Cannot renew lease for DFSClient_977492582. Name node is in safe mode in AWS
madhu phatak 2012-03-28, 08:43
Hi Mohit,
 HDFS is in safe mode which is read only mod. Run the following command to
get out of safemode

 bin/hadoop dfsadmin -safemode leave.

On Thu, Mar 15, 2012 at 5:54 AM, Mohit Anchlia <[EMAIL PROTECTED]>wrote:

>  When I run client to create files in amazon HDFS I get this error. Does
> anyone know what it really means and how to resolve this?
>
> ---
>
>
> 2012-03-14 23:16:21,414 INFO org.apache.hadoop.ipc.Server (IPC Server
> handler 46 on 9000): IPC Server handler 46 on 9000, call
> renewLease(DFSClient_977492582) from 10.70.150.119:47240: error:
> org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot renew
> lease for DFSClient_977492582. Name node is in safe mode.
>
> The ratio of reported blocks 1.0000 has reached the threshold 0.9990. Safe
> mode will be turned off automatically in 0 seconds.
>
> org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot renew
> lease for DFSClient_977492582. Name node is in safe mode.
>
> The ratio of reported blocks 1.0000 has reached the threshold 0.9990. Safe
> mode will be turned off automatically in 0 seconds.
>
> at
>
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renewLease(FSNamesystem.java:2296)
>
> at
>
> org.apache.hadoop.hdfs.server.namenode.NameNode.renewLease(NameNode.java:814)
>
> at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:563)
>
> at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1388)
>
> at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1384)
>
> at java.security.AccessController.doPrivileged(Native Method)
>
> at javax.security.auth.Subject.doAs(Subject.java:396)
>
> at
>
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1059)
>
> at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1382)
>

--
https://github.com/zinnia-phatak-dev/Nectar