Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2268

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tasktracker
    • Labels:
      None

      Description

      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.

        Activity

        Allen Wittenauer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Allen Wittenauer made changes -
        Fix Version/s 0.22.1 [ 12319242 ]
        Konstantin Shvachko made changes -
        Fix Version/s 0.22.1 [ 12319242 ]
        Fix Version/s 0.22.0 [ 12314184 ]
        Todd Lipcon made changes -
        Assignee Todd Lipcon [ tlipcon ]
        Konstantin Shvachko made changes -
        Field Original Value New Value
        Priority Blocker [ 1 ] Major [ 3 ]
        Todd Lipcon created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development