Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBA379D27 for ; Fri, 13 Apr 2012 08:08:31 +0000 (UTC) Received: (qmail 76179 invoked by uid 500); 13 Apr 2012 08:08:31 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 76144 invoked by uid 500); 13 Apr 2012 08:08:31 -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 76128 invoked by uid 99); 13 Apr 2012 08:08:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 08:08:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 08:08:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 40E5B368FBA for ; Fri, 13 Apr 2012 08:08:09 +0000 (UTC) Date: Fri, 13 Apr 2012 08:08:09 +0000 (UTC) From: "Bhallamudi Venkata Siva Kamesh (Updated) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <124450722.21153.1334304489267.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2098850065.8065.1333482742804.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-4102) job counters not available in Jobhistory webui for killed jobs 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-4102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bhallamudi Venkata Siva Kamesh updated MAPREDUCE-4102: ------------------------------------------------------ Affects Version/s: 2.0.0 Status: Patch Available (was: Open) > job counters not available in Jobhistory webui for killed jobs > -------------------------------------------------------------- > > Key: MAPREDUCE-4102 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4102 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: webapps > Affects Versions: 0.23.2, 2.0.0 > Reporter: Thomas Graves > Attachments: MAPREDUCE-4102.patch > > > Run a simple wordcount or sleep, and kill the job before it finishes. Go to the job history web ui and click the "Counters" link for that job. It displays "500 error". > The job history log has: > Caused by: com.google.inject.ProvisionException: Guice provision errors: > 2012-04-03 19:42:53,148 ERROR org.apache.hadoop.yarn.webapp.Dispatcher: error handling URI: /jobhistory/jobcounters/job_1333482028750_0001 > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > ... > .. > ... > 1) Error injecting constructor, java.lang.NullPointerException > at org.apache.hadoop.mapreduce.v2.app.webapp.CountersBlock.(CountersBlock.java:56) > while locating org.apache.hadoop.mapreduce.v2.app.webapp.CountersBlock > ... > .. > ... > Caused by: java.lang.NullPointerException at org.apache.hadoop.mapreduce.counters.AbstractCounters.incrAllCounters(AbstractCounters.java:328) > at org.apache.hadoop.mapreduce.v2.app.webapp.CountersBlock.getCounters(CountersBlock.java:188) > at org.apache.hadoop.mapreduce.v2.app.webapp.CountersBlock.(CountersBlock.java:57) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > There are task counters available if you drill down into successful tasks though. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira