[
https://issues.apache.org/jira/browse/MAPREDUCE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Douglas updated MAPREDUCE-679:
------------------------------------
Status: Open (was: Patch Available)
The code looks reasonable, save a really minor nit on semicolons:
{noformat}
+ JobTrackerJspHelper.generateJobTable(out, "running",
tracker.runningJobs());;;;
{noformat}
and DecimalFormat is not threadsafe.
Adding a new metrics interface requires that we maintain it. Particularly if
this is an "interim solution," I hesitate to commit it when these metrics are
already exported through existing interfaces. I'm not against adding this, but
neither am I particularly enthusiastic about adding yet another metrics API.
What is this in support of?
> 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.