From mapreduce-issues-return-231-apmail-hadoop-mapreduce-issues-archive=hadoop.apache.org@hadoop.apache.org Fri Jul 03 23:25:59 2009 Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 56900 invoked from network); 3 Jul 2009 23:25:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jul 2009 23:25:59 -0000 Received: (qmail 26098 invoked by uid 500); 3 Jul 2009 23:26:09 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 26055 invoked by uid 500); 3 Jul 2009 23:26:09 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 26045 invoked by uid 99); 3 Jul 2009 23:26:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2009 23:26:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2009 23:26:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 30651234C004 for ; Fri, 3 Jul 2009 16:25:47 -0700 (PDT) Message-ID: <1459112416.1246663547183.JavaMail.jira@brutus> Date: Fri, 3 Jul 2009 16:25:47 -0700 (PDT) From: "Aaron Kimball (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-679) XML-based metrics as JSP servlet for JobTracker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727156#action_12727156 ] Aaron Kimball commented on MAPREDUCE-679: ----------------------------------------- New patch available. Per a code-review comment on HDFS-453, I've split the helper methods into a separate static class. Also added a test case which starts a MiniMRCluster and retrieves the JSP page from the appropriate URL. It uses Java's built-in SAX parser to parse the page, assure it is well-formed, and that it contains exactly one {{..}} block which defines the page of data. > 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.