Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 77307 invoked from network); 27 Apr 2010 09:51:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Apr 2010 09:51:58 -0000 Received: (qmail 18837 invoked by uid 500); 27 Apr 2010 09:51:57 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 18744 invoked by uid 500); 27 Apr 2010 09:51:57 -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 18520 invoked by uid 99); 27 Apr 2010 09:51:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 09:51:56 +0000 X-ASF-Spam-Status: No, hits=-1353.7 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Apr 2010 09:51:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3R9pYGm025527 for ; Tue, 27 Apr 2010 09:51:35 GMT Message-ID: <32817410.30321272361894894.JavaMail.jira@thor> Date: Tue, 27 Apr 2010 05:51:34 -0400 (EDT) From: "Vinod K V (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1397) NullPointerException observed during task failures In-Reply-To: <943410937.2161264156641506.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12861335#action_12861335 ] Vinod K V commented on MAPREDUCE-1397: -------------------------------------- Patch looks good. I myself reviewed the patch for ydist and the fact that the same patch applies cleanly on trunk too helps! But like I pointed before the interactions of JvmManager with TaskRunner, TaskTracker and TaskController are really nasty and unmaintainable. Will open a JIRA for refactoring so as to align these interfaces better. We can't wait for the refactor, I am going to commit this patch for now. > NullPointerException observed during task failures > -------------------------------------------------- > > Key: MAPREDUCE-1397 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1397 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: tasktracker > Affects Versions: 0.20.1 > Reporter: Ramya R > Assignee: Amareshwari Sriramadasu > Priority: Minor > Fix For: 0.22.0 > > Attachments: patch-1397-1.txt, patch-1397-2.txt, patch-1397-3.txt, patch-1397-ydist.txt, patch-1397.txt > > > In an environment where many jobs are killed simultaneously, NPEs are observed in the TT/JT logs when a task fails. The situation is aggravated when the taskcontroller.cfg is not configured properly. Below is the exception obtained: > {noformat} > INFO org.apache.hadoop.mapred.TaskInProgress: Error from : > java.lang.Throwable: Child Error > at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:529) > Caused by: java.lang.NullPointerException > at org.apache.hadoop.mapred.JvmManager$JvmManagerForType.getDetails(JvmManager.java:329) > at org.apache.hadoop.mapred.JvmManager$JvmManagerForType.reapJvm(JvmManager.java:315) > at org.apache.hadoop.mapred.JvmManager$JvmManagerForType.access$000(JvmManager.java:146) > at org.apache.hadoop.mapred.JvmManager.launchJvm(JvmManager.java:109) > at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:502) > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.