Support Questions

Find answers, ask questions, and share your expertise

getting ERROR when trying to start hadoop namenode using terminal

New Contributor

hello, 

i'm using cloudera quickstart vm

when i try to start the namenode using terminal , i get this Error :

 

[cloudera@quickstart conf]$ sudo service hadoop-hdfs-namenode start

starting namenode, logging to /var/log/hadoop-hdfs/hadoop-hdfs-namenode-quickstart.cloudera.out

log4j:ERROR Could not find value for key log4j.appender.RFA

log4j:ERROR Could not instantiate appender named "RFA".

log4j:WARN No appenders could be found for logger (org.apache.hadoop.hdfs.server.namenode.NameNode).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

Failed to start Hadoop namenode. Return value: 1 [FAILED]

 

i think that the probleme is log4j.properties file ?

Thanks for your help,

1 REPLY 1

Contributor

hello,

try to find  your log4j.properties file 
( my case /etc/hadoop/conf.cloudera.hdfs/log4j.properties)

 and add these two lines : 

log4j.appender.RFA=org.apache.log4j.ConsoleAppender log4j.appender.RFA.layout=org.apache.log4j.PatternLayout

good luck 

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