hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Lamb <cl...@cloudera.com>
Subject Re: How to enable debug log in HDFS
Date Wed, 25 Mar 2015 16:10:03 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message