hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1185) dynamically change log levels
Date Thu, 01 Nov 2007 20:01:51 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539456

Tsz Wo (Nicholas), SZE commented on HADOOP-1185:

> This sounds like a good thing to add to GenericOptionsParser

Then, how would the command look like?  I am thinking something like

hadoop LogLevel -get host:port logName
hadoop LogLevel -set host:port logName level

or using url (i.e. the same way as the servlet)

hadoop LogLevel http://host:port/logLevel?log=name&level=lev

> dynamically change log levels
> -----------------------------
>                 Key: HADOOP-1185
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1185
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.16.0
>            Reporter: dhruba borthakur
>            Assignee: Tsz Wo (Nicholas), SZE
>             Fix For: 0.16.0
>         Attachments: 1185_20071031.patch
> I would like to switch on the debug log level of the namenode (or other components) without
restarting it. This is needed to analyze a production system.
> Can somebody please advice on how to set the loglevel dyncamically on a running namenode?
I was thinking of enhancing dfsadmin to make an RPC to the namenode to set a specified logging
level. But the apache common logging APi does not export an API to change logging levels.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message