Support Questions
Find answers, ask questions, and share your expertise

Unable to start Namenode

Unable to start Namenode

Rising Star

While trying to start Namenode from Ambari, its failing with the below error:

  raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of ' su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ;  /usr/hdp/ --config /usr/hdp/ --daemon start namenode'' returned 1. WARNING: HADOOP_NAMENODE_OPTS has been replaced by HDFS_NAMENODE_OPTS. Using value of HADOOP_NAMENODE_OPTS. 

ERROR: Cannot set priority of namenode process 355

Does anybody know a solution

Thanks in advance


Re: Unable to start Namenode

Cloudera Employee

First you need to know the error.

- Check your namenode log file, by default located in the following directory /var/log/hadoop/hdfs

run tail -f /var/log/hadoop/hdfs/hadoop-hdfs-namenode*.log . and try to start the service again.

- Check if namenode process was already running on that node with ps -ef | grep namenode