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

Chris Douglas commented on MAPREDUCE-679:
-----------------------------------------

I'm not arguing against exporting XML APIs- we already do this for listing 
paths in the NameNode- but I'd like to have a use case before we commit to 
supporting an interface. The aforementioned is an example of an interim, XML 
interface: listing for HftpFileSystem, which was added for cross-version 
copying while we work on better protocols. Which is why I ask: what is this 
for? "XML is widely supported and we have a unit test" is answering a different 
question.

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