hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-453) XML-based metrics as JSP servlet for NameNode
Date Thu, 02 Jul 2009 16:39:47 GMT

    [ https://issues.apache.org/jira/browse/HDFS-453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726545#action_12726545

Steve Loughran commented on HDFS-453:

The NN JSP helper is chucking out HTML from some of its methods, not well-formed XML. There's
a risk that the content pushed out here is not valid XML.

#the tests that have been left out need to take the XML and try and parse it. This isn't that
hard, you could do it in Ant using <get> then <xmlvalidate>, ideally against a
schema that comes with the patch.
#All content that goes out as XML has to be passed through XMLenc. I actually think this is
a good opportunity to knock up a successor to xmlenc, one that is namespace aware, and so
can be used to push XHTML in the right namespace. 

>  XML-based metrics as JSP servlet for NameNode
> ----------------------------------------------
>                 Key: HDFS-453
>                 URL: https://issues.apache.org/jira/browse/HDFS-453
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>         Attachments: HDFS-453.patch
> In HADOOP-4559, a general REST API for reporting metrics was proposed but work seems
to have stalled. In the interim, we have a simple XML translation of the existing NameNode
status page which provides the same metrics as the human-readable page. This is a relatively
lightweight addition to provide some machine-understandable metrics reporting.

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

View raw message