[
https://issues.apache.org/jira/browse/MAPREDUCE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12756218#action_12756218
]
Chris Douglas commented on MAPREDUCE-679:
-----------------------------------------
bq. I'm not sure if Aaron could use Xmlenc here, as it is biased towards
writing whole XML docs (with the XML header) rather than fragments.
I don't see what you mean.
[XMLOutputter|http://xmlenc.sourceforge.net/javadoc/0.52/org/znerd/xmlenc/XMLOutputter.html]
doesn't appear to require the declaration.
bq. Given that XMLenc is no longer an active project, there is value in having
our own classes to chuck out well-formed XML and XHTML
It's a fast, simple XML writer; I'm pleased that it's not getting new features.
That said, escaping user strings displayed in the web UI is an excellent idea.
> 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.