Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NameNode is not leaving safemode and getting connection refused error

NameNode is not leaving safemode and getting connection refused error

New Contributor
hadoop-hdfs-datanode-masterdomain.txt

Ambari is not starting up the applications..It will go smoothly up to 64 % and results in errors..

4 REPLIES 4

Re: NameNode is not leaving safemode and getting connection refused error

Master Collaborator

Can you also post namenode logs?

Re: NameNode is not leaving safemode and getting connection refused error

@Achu Thambi

Did you try manually leaving Namenode from command line.

Run below command at the time you start your namenode:

sudo su - hdfs

hdfs dfsadmin -safemode leave

Again this is not the best practice but helps your namenode come back.

Re: NameNode is not leaving safemode and getting connection refused error

New Contributor

Thank you @Sridhar Reddy.......I followed these commands but I got connection refused error,I tried changing the permission of hadoop folder to 777 temporarily,now i could able to start the applications.

Re: NameNode is not leaving safemode and getting connection refused error

@Achu Thambi:

Glad that issue is resolved.