hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Shao <zs...@facebook.com>
Subject RE: command to reload log4j settings for a JobTracker?
Date Wed, 21 Oct 2009 08:16:47 GMT
Thanks Todd!

Zheng
________________________________
From: Todd Lipcon [todd@cloudera.com]
Sent: Tuesday, October 20, 2009 11:46 PM
To: mapreduce-user@hadoop.apache.org
Subject: Re: command to reload log4j settings for a JobTracker?

Hey Zheng,

I don't know that there's a command to reload the properties file, but you can use the "hadoop
daemonlog" command to change an individual logger at runtime.

e.g:

todd@todd-laptop:~$ hadoop-0.20 daemonlog -getlevel localhost:50030 org.apache.hadoop
Connecting to http://localhost:50030/logLevel?log=org.apache.hadoop
Submitted Log Name: org.apache.hadoop
Log Class: org.apache.commons.logging.impl.Log4JLogger
Effective level: INFO

-Todd

On Tue, Oct 20, 2009 at 10:41 PM, Zheng Shao <zshao@facebook.com<mailto:zshao@facebook.com>>
wrote:
Hi,

Is there a command for JobTracker to reload the log4j settings at runtime?

Thanks,
Zheng



Mime
View raw message