Hadoop Common
  1. Hadoop Common
  2. HADOOP-1191

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.2
    • Fix Version/s: 0.12.3
    • Component/s: None
    • Labels:
      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.

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

        Issue Links

          Activity

          Devaraj Das created issue -
          Devaraj Das made changes -
          Field Original Value New Value
          Attachment 1191.patch [ 12354773 ]
          Devaraj Das made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Doug Cutting made changes -
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Doug Cutting made changes -
          Assignee Devaraj Das [ devaraj ] Doug Cutting [ cutting ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Resolution Fixed [ 1 ]
          Doug Cutting made changes -
          Attachment 1191-2.patch [ 12354785 ]
          Doug Cutting made changes -
          Status Reopened [ 4 ] Patch Available [ 10002 ]
          Doug Cutting made changes -
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Doug Cutting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Devaraj Das made changes -
          Link This issue relates to HADOOP-1219 [ HADOOP-1219 ]
          Owen O'Malley made changes -
          Component/s mapred [ 12310690 ]

            People

            • Assignee:
              Doug Cutting
              Reporter:
              Devaraj Das
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development