Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1191

MapTask should wait for the status reporting thread to die before invoking the TaskUmbilicalProtocol.done(taskid)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12.2
    • 0.12.3
    • None
    • None

    Description

      Currently, the status reporting thread is sent an interrupt and immediately after that TaskUmbilicalProtocol.done() is invoked. A better thing to do is to wait for the thread to die before invoking done() otherwise it is possible that a status message just makes it through and then the Task is put in RUNNING state at the TaskTracker. This results in inconsistency about the runstate of a task at the TaskTracker's end.

      Attachments

        1. 1191.patch
          0.4 kB
          Devaraj Das
        2. 1191-2.patch
          3 kB
          Doug Cutting

        Issue Links

          Activity

            People

              cutting Doug Cutting
              ddas Devaraj Das
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: