Support Questions

Find answers, ask questions, and share your expertise

While starting Namenode checking as below HDP 2.+ (Safe Mode cannoot renew lease for dfsclinet) namenodelogfile

avatar
Expert Contributor

2016-07-26 0000 INFO ipc.Server (Server.java:run(2034)) - IPC Server handler 57 on 8020, call org.apache.hadoop.hdfs.protocol.ClientProtocol.renewLease fromto 000.0.0.0 Call#2478456 Retry#3 org.apache.hadoop.ipc.RetriableException: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot renew lease for DFSClient_task1468766070206_82805_m_000013_0_1388738965_1. Name node is in safe mode. The reported blocks 68892652 needs additional 1837307 blocks to reach the threshold 1.0000 of total blocks 70729958. The number of live datanodes 12 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reached. at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkNameNodeSafeMode(FSNamesystem.java:1206) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.renewLease(FSNamesystem.java:4133) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.renewLease(NameNodeRpcServer.java:767) at

1 ACCEPTED SOLUTION

avatar
Expert Contributor

This issue is with Namenode was on Safe mode

1)Ran command to came out of Safe mode

2) Stopped the HDFS service

3) Started the Zookeeper and HDFS service

4) After start namenode came up and running.

View solution in original post

1 REPLY 1

avatar
Expert Contributor

This issue is with Namenode was on Safe mode

1)Ran command to came out of Safe mode

2) Stopped the HDFS service

3) Started the Zookeeper and HDFS service

4) After start namenode came up and running.