Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 66196 invoked from network); 15 Sep 2008 14:40:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Sep 2008 14:40:41 -0000 Received: (qmail 57525 invoked by uid 500); 15 Sep 2008 14:40:32 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 57496 invoked by uid 500); 15 Sep 2008 14:40:32 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 57481 invoked by uid 99); 15 Sep 2008 14:40:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2008 07:40:32 -0700 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; Mon, 15 Sep 2008 14:39:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7516A234C1DA for ; Mon, 15 Sep 2008 07:39:44 -0700 (PDT) Message-ID: <155441623.1221489584476.JavaMail.jira@brutus> Date: Mon, 15 Sep 2008 07:39:44 -0700 (PDT) From: "Amar Kamat (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3200) Job history counters should be avaible on the UI. In-Reply-To: <353567696.1207560867411.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631038#action_12631038 ] Amar Kamat commented on HADOOP-3200: ------------------------------------ bq. I am trying to get map-tasks counters and reduce-tasks counters separately I think comparing the final job counter should suffice. Job counter encompasses all the maps and reduce counters. Is there any specific reason why you are matching them separately? bq. May be we could just change parseHistoryFromFs to accept multiple listeners I dont see any need for a separate listener, atleast in this jira. I think we should simply recover the counter wherever the counter is expected (like _TASK_FINISH_) and add it to the global job counter. The only change required will be {code} Counters jobCounter = new Counters(); ... ... // On a task/tip event Counters newCounter = Counters.fromEscapedCompactString(task.get(Keys.COUNTERS)); jobCounter.incrAllCounters(newCounter); {code} Introducing new code just for this is probably not worth it. I think we should reuse the available listener. I agree that we should support multiple listeners but it makes sense when the listeners are having separate, well defined functionalities. in this case one would be a subpart of other, logically. > Job history counters should be avaible on the UI. > ------------------------------------------------- > > Key: HADOOP-3200 > URL: https://issues.apache.org/jira/browse/HADOOP-3200 > Project: Hadoop Core > Issue Type: Improvement > Components: mapred > Affects Versions: 0.16.0 > Reporter: Amareshwari Sriramadasu > Assignee: Vinod K V > Attachments: HADOOP-3200-20080915.1.txt > > > Job history is logging counters. But they are not visible on the UI. > Job history parser and UI should be modified to view counters. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.