[ 
https://issues.apache.org/jira/browse/MAPREDUCE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742877#action_12742877
 ] 

Steve Loughran commented on MAPREDUCE-679:
------------------------------------------

Same comments as for HDFS-453
# a JSPX page may make it easier for generating XML; especially for ensuring 
there isn't any whitespace ahead of the xml header declaration, or bad xml 
inside it.
# caching needs to be turned off here and in all JSP pages as per HDFS-91
# your {{generateJobTable}} code can/should iterate as {{for(JobInProgress 
job:jobs) instead of Object

Can you attach some example XML, I'd like to look at it a bit more too, see how 
well it would for for XSL/Xpath navigation

> XML-based metrics as JSP servlet for JobTracker
> -----------------------------------------------
>
>                 Key: MAPREDUCE-679
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-679
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: jobtracker
>            Reporter: Aaron Kimball
>            Assignee: Aaron Kimball
>         Attachments: MAPREDUCE-679.2.patch, MAPREDUCE-679.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 JobTracker status page which provides the same metrics 
> (including the tables of running/completed/failed jobs) 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.

Reply via email to