I installed Cloudera Quickstart VM 5.13 on virtualbox and I'm trying to start hadoop server with the command sudo service hadoop-hdfs-namenode start
but 'm getting this two errors:
log4j:ERROR Could not find value for key log4j.appender.RFA
and log4j:ERROR Could not instantiate appender named "RFA"
.
Can anyone can help me with this issue?
Asked
Active
Viewed 357 times
0

emeric
- 59
- 2
- 11
-
Can you find the log4j file that's used and add it to the question? – OneCricketeer Feb 13 '21 at 16:01
2 Answers
0
I found my log4j.properties file (my case ./workspace/training/conf/log4j.properties) and i added these two lines and it solved the problem :
log4j.appender.RFA=org.apache.log4j.ConsoleAppender log4j.appender.RFA.layout=org.apache.log4j.PatternLayout

emeric
- 59
- 2
- 11
0
For my case log4j.properties
file is located at /etc/hadoop/conf/
Then add below configs as recommended
log4j.appender.RFA=org.apache.log4j.ConsoleAppender
log4j.appender.RFA.layout=org.apache.log4j.PatternLayout

Simon Muthusi
- 1
- 3