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

Aaron Kimball commented on MAPREDUCE-679:
-----------------------------------------

I don't see why using some additional XML writing library is necessary. I have 
already provided a unit test which ensures that the output of this page is 
well-formed XML. (For what it's worth, none of the other JSPs have any unit 
tests at all.) Perhaps there is a broader problem of refactoring the existing 
JSPs to ensure that all generated HTML/XML is well-formed, but that is outside 
the scope of this issue.

I'll get rid of the buffered job history and pass in a writer; expect a new 
patch for that soon. 

> 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: example-jobtracker-completed-job.xml, 
> example-jobtracker-running-job.xml, MAPREDUCE-679.2.patch, 
> MAPREDUCE-679.3.patch, MAPREDUCE-679.4.patch, MAPREDUCE-679.5.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