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)

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment