log4j.properties
1 Answer(s)
DeZyre Support
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
May 17 2014 04:18 PM
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