[ 
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.

Reply via email to