On 3/25/2015 11:13 AM, xiaohe lan wrote:
Hi Charles,
In my hadoop-env.sh, I set
export HADOOP_CLIENT_OPTS="-Dhadoop.root.logger=DEBUG,console -Xmx512m
$HADOOP_CLIENT_OPTS"
However, I could not see the debug log in NN's log file
hadoop-xilan-namenode-xxxx.out. By setting export
HADOOP_ROOT_LOGGER="DEBUG,console" I could see lots of debug log.
One more question is what will be written to the .log file and what
will be written to the .out file ?
Logger output goes to the .log file. Very little goes to the .out file IIRC.
Charles