log4j.properties


1 Answer(s)


Hi Santi,

If your question is about logging levels for hadoop jobs, add this in hadoop-env.sh
export HADOOP_ROOT_LOGGER=DEBUG,console
This will include all the messages that are <= DEBUG level of logging on console.
hadoop-env.sh can be found at : $HADOOP_HOME/conf/

Further, if only changes are required in NN logs then try to set the property
dfs.namenode.logging.level as ALL in hdfs -site.xml.
This change might need reloading of proeprty files and hence NN re-start.

Please post, if you have further questions.


Vote-up, if it helps.
Happy Learning @ Dezyre