Thanks Todd!

Zheng
________________________________
From: Todd Lipcon [t...@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:

t...@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 
<zs...@facebook.com<mailto:zs...@facebook.com>> wrote:
Hi,

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

Thanks,
Zheng


Reply via email to