Support Questions

Find answers, ask questions, and share your expertise

Namenode is not starting, connection error

avatar
Explorer

Hi Team,

 

We have a 2 node cluster setup of a Namenode and a Datanode.

 

The name node is refusing to start and is failing because of following error.

 

Retrying after 10 seconds. Reason: Execution of '/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://inqchdpmn1.XXX.com:8020 -safemode get | grep 'Safe mode is OFF'' returned 1. safemode: Call From inqchdpmn1.XXX.com/10.10.31.71 to inqchdpmn1.XXX.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
safemode: Call From inqchdpmn1.XXX.com/10.10.31.71 to inqchdpmn1.XXX.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
2020-07-10 11:08:55,721 -

 

bash-4.2$ sudo netstat -anp | grep 8020

doesn't give any o/p.

 

We are stuck for a while now, please help.

TIA.

11 REPLIES 11

avatar
Explorer

@Govins28

We are creating cluster from scratch

 

avatar
Contributor

@ARVINDR :

Thanks for the info on that cluster creation part.

Did you try to check the ACL.