hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Lipcon <t...@cloudera.com>
Subject Re: command to reload log4j settings for a JobTracker?
Date Wed, 21 Oct 2009 06:46:20 GMT
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> wrote:

>  Hi,
>
>
>
> Is there a command for JobTracker to reload the log4j settings at runtime?
>
>
>
> Thanks,
>
> Zheng
>
>
>

Mime
View raw message