Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 25042 invoked from network); 10 Feb 2009 12:39:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 12:39:25 -0000 Received: (qmail 22563 invoked by uid 500); 10 Feb 2009 12:39:21 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 22513 invoked by uid 500); 10 Feb 2009 12:39:21 -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 22502 invoked by uid 99); 10 Feb 2009 12:39:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 04:39:21 -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; Tue, 10 Feb 2009 12:39:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A8D13234C48B for ; Tue, 10 Feb 2009 04:39:00 -0800 (PST) Message-ID: <1601993868.1234269540674.JavaMail.jira@brutus> Date: Tue, 10 Feb 2009 04:39:00 -0800 (PST) From: "Vinod K V (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5198) NPE in Shell.runCommand() In-Reply-To: <319780665.1234176539578.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-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod K V updated HADOOP-5198: ------------------------------ Affects Version/s: (was: 0.21.0) Fix Version/s: (was: 0.21.0) Remaining Estimate: 0h Original Estimate: 0h Even I observed two instances of this problem on a big cluster with a JT that was running for nearly 6 hours. A preliminary analysis does point to a race condition between a jvm just cleaning up and a new task trying to kill this old jvm for a free slot. > NPE in Shell.runCommand() > ------------------------- > > Key: HADOOP-5198 > URL: https://issues.apache.org/jira/browse/HADOOP-5198 > Project: Hadoop Core > Issue Type: Bug > Components: mapred, util > Reporter: Amareshwari Sriramadasu > Original Estimate: 0h > Remaining Estimate: 0h > > I have seen one of the task failures with following exception: > java.lang.NullPointerException > at java.lang.ProcessBuilder.start(ProcessBuilder.java:441) > at org.apache.hadoop.util.Shell.runCommand(Shell.java:149) > at org.apache.hadoop.util.Shell.run(Shell.java:134) > at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:286) > at org.apache.hadoop.util.ProcessTree.isAlive(ProcessTree.java:244) > at org.apache.hadoop.util.ProcessTree.sigKillInCurrentThread(ProcessTree.java:67) > at org.apache.hadoop.util.ProcessTree.sigKill(ProcessTree.java:115) > at org.apache.hadoop.util.ProcessTree.destroyProcessGroup(ProcessTree.java:164) > at org.apache.hadoop.util.ProcessTree.destroy(ProcessTree.java:180) > at org.apache.hadoop.mapred.JvmManager$JvmManagerForType$JvmRunner.kill(JvmManager.java:377) > at org.apache.hadoop.mapred.JvmManager$JvmManagerForType.reapJvm(JvmManager.java:249) > at org.apache.hadoop.mapred.JvmManager$JvmManagerForType.access$000(JvmManager.java:113) > at org.apache.hadoop.mapred.JvmManager.launchJvm(JvmManager.java:76) > at org.apache.hadoop.mapred.TaskRunner.run(TaskRunner.java:411) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.