hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hemanth Yamijala (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-962) NPE in ProcfsBasedProcessTree.destroy()
Date Mon, 02 Nov 2009 04:50:59 GMT

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


Mime
View raw message