[ 
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

New patch to address findbugs and javac warnings:
 - Added a serialVersionUID to ConfServlet (apparently Servlets are 
serializable)
 - Added some more synchronized blocks in Configuration - was missing some 
synchronization while iterating over properties, etc, which was exposed as a 
side effect of adding some code.

The other findbugs warning was about the catch (Exception) in writeXml, which 
already existed. I'd be happy to explicitly catch the thrown XML-related 
exceptions and rethrow as an IOException, but I didn't write that patch and 
didn't want to change it if it were purposefully a RuntimeException. Thoughts?

> 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-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.

Reply via email to