hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Kimball (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-453) XML-based metrics as JSP servlet for NameNode
Date Sat, 04 Jul 2009 00:01:47 GMT

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

Aaron Kimball commented on HDFS-453:

Attaching new patch. I performed suggestion (2) above. Renaming the page to a .jspx doesn't
seem to work. Jasper considers .jspx files via a completely separate parser than .jsp ones;
one that seems to have trouble with the presence of {{<% .. %>}} and other JSP-isms.
This patch also includes a test that starts a MiniDFSCluster, retrieves /dfshealth.xml.jsp,
uses a SAX parser to parse the page, and check that the main {{<cluster>..</cluster>}}
element is present.

>  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.2.patch, 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