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

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

Don't have an account?
Coming from Hortonworks? Activate your account here