[ 
https://issues.apache.org/jira/browse/MAPREDUCE-962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hemanth Yamijala updated MAPREDUCE-962:
---------------------------------------

    Status: Open  (was: Patch Available)

Apologies for looking at this late. The patch looks fine overall. One minor nit 
is that the test case testDestroyProcessTree is initializing an array procInfos 
without any need for it. Can this be removed and run through Hudson again - so 
I can commit it ?

> NPE in ProcfsBasedProcessTree.destroy()
> ---------------------------------------
>
>                 Key: MAPREDUCE-962
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-962
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tasktracker
>            Reporter: Vinod K V
>            Assignee: Ravi Gummadi
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6232.patch, MR-962.patch, MR-962.v1.patch
>
>
> This causes the following exception in TaskMemoryManagerThread. I observed 
> this while running TestTaskTrackerMemoryManager.
> {code}
> 2009-09-02 12:08:25,835 WARN  mapred.TaskMemoryManagerThread 
> (TaskMemoryManagerThread.java:run(239)) - \
>             Uncaught exception in TaskMemoryManager while managing memory of 
> attempt_20090902120812252_0001_m_000003_0 : \
> java.lang.NullPointerException
>         at 
> org.apache.hadoop.util.ProcfsBasedProcessTree.assertPidPgrpidForMatch(ProcfsBasedProcessTree.java:234)
>         at 
> org.apache.hadoop.util.ProcfsBasedProcessTree.assertAndDestroyProcessGroup(ProcfsBasedProcessTree.java:257)
>         at 
> org.apache.hadoop.util.ProcfsBasedProcessTree.destroy(ProcfsBasedProcessTree.java:286)
>         at 
> org.apache.hadoop.mapred.TaskMemoryManagerThread.run(TaskMemoryManagerThread.java:229)
> {code}

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