You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/01/15 02:39:45 UTC

[jira] Created: (MAPREDUCE-2268) With JVM reuse, JvmManager doesn't delete last workdir properly

With JVM reuse, JvmManager doesn't delete last workdir properly
---------------------------------------------------------------

                 Key: MAPREDUCE-2268
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2268
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: tasktracker
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
            Priority: Blocker
             Fix For: 0.22.0


In JvmManager, when a Jvm exits, it tries to delete the workdir for {{initalContext.task}} which is null, hence throwing NPE. Currently this NPE is swallowed into the abyss.

We should catch exceptions out of the JvmRunner thread, add a test case that verifies this functionality, and fix this code to properly grab the last task.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.