Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 33311 invoked from network); 13 Feb 2009 03:36:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2009 03:36:25 -0000 Received: (qmail 17354 invoked by uid 500); 13 Feb 2009 03:36:23 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 17345 invoked by uid 500); 13 Feb 2009 03:36:23 -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 17334 invoked by uid 99); 13 Feb 2009 03:36:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 19:36:23 -0800 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, 13 Feb 2009 03:36:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5EFF6234C48C for ; Thu, 12 Feb 2009 19:36:00 -0800 (PST) Message-ID: <1395991866.1234496160387.JavaMail.jira@brutus> Date: Thu, 12 Feb 2009 19:36:00 -0800 (PST) From: "Amareshwari Sriramadasu (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-5234) NPE in TaskTracker reinit action In-Reply-To: <1397916206.1234435679491.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-5234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673132#action_12673132 ] Amareshwari Sriramadasu commented on HADOOP-5234: ------------------------------------------------- Yes. Exception occurs if localJobConf is null, which is possible if cleanup happens before localization of the tip. > NPE in TaskTracker reinit action > -------------------------------- > > Key: HADOOP-5234 > URL: https://issues.apache.org/jira/browse/HADOOP-5234 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Reporter: Amareshwari Sriramadasu > Priority: Critical > > I have seen an NPE in TT reinit action. > TT logs : > {noformat} > 2009-02-12 12:14:02,859 INFO org.apache.hadoop.mapred.TaskTracker: Error cleaning up task runner: java.lang.NullPointerException > at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.cleanup(TaskTracker.java:2515) > at org.apache.hadoop.mapred.TaskTracker$TaskInProgress.jobHasFinished(TaskTracker.java:2381) > at org.apache.hadoop.mapred.TaskTracker.close(TaskTracker.java:925) > at org.apache.hadoop.mapred.TaskTracker.run(TaskTracker.java:1830) > at org.apache.hadoop.mapred.TaskTracker.main(TaskTracker.java:2901) > {noformat} > corresponding code is > {noformat} > 2515 if (localJobConf.getNumTasksToExecutePerJvm() == 1) { > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.