One way is to do:

HADOOP_CLIENT_OPTS="-Dhadoop.root.logger=DEBUG,console"

IHTH.

Charles

On 3/24/2015 10:25 AM, xiaohe lan wrote:
---------- Forwarded message ----------
From: xiaohe lan <zombiexco...@gmail.com>
Date: Tue, Mar 24, 2015 at 9:04 PM
Subject: How to enable debug log in HDFS
To: u...@hadoop.apache.org


Hi expert,

I am using Hadoop 2.4, I need to see the debug log of HDFS when performing
some operations. Where can I set it. I did a search in log4j.properties but
I don't what can I do with it.

Thanks,
Xiaohe


Reply via email to