Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: CDH3u0
-
Fix Version/s: None
-
Component/s: Hadoop Common
-
Labels:
-
Environment:Ubuntu Linux 10.04 LTS
Description
In the file /usr/lib/hadoop/bin/hadoop-daemon.sh the LOGLEVEL is set through an environment variable:
EXPORT HADOOP_ROOT_LOGGER="INFO,DRFA"
Many people expect that changing /usr/lib/hadoop/conf/log4j.properties will change the log level, but it does not. Changing the hadoop-daemon.sh script does the trick, but it is not a clean way. I'm not sure what would be the best way to attack this problem, but it would be nice if we could use log4j.properties.