Support Questions

Find answers, ask questions, and share your expertise

NameNode is not leaving safemode and getting connection refused error


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


Master Collaborator

Can you also post namenode logs?

@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.


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.

@Achu Thambi:

Glad that issue is resolved.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.