hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6408) Add a /conf servlet to dump running configuration
Date Wed, 02 Dec 2009 23:27:20 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Todd Lipcon updated HADOOP-6408:

    Attachment: hadoop-6408.txt

This patch implements a servlet at /conf that dumps the configuration. ?format=xml and ?format=json
are provided (xml is the default).

This also modifies the .writeXml() function of Configuration to include the resource sources
(when available) as xml comments. Eg:

  <!--Loaded from core-default.xml-->

I did some slight refactoring there to make things more convenient.

I didn't do an HTML view of this data, since Firefox at least displays the XML pretty readably.
If others would find HTML useful, I'd like to do that in a separate JIRA.

> Add a /conf servlet to dump running configuration
> -------------------------------------------------
>                 Key: HADOOP-6408
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6408
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>         Attachments: hadoop-6408.txt
> HADOOP-6184 added a command line flag to dump the running configuration. It would be
great for cluster troubleshooting to provide access to this as a servlet, preferably in both
JSON and XML formats. But really, any format would be better than nothing. This should/could
go into all of the daemons.

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

View raw message