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

MR 279: race in JobHistoryEventHandler stop

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The condition to stop the eventHandling thread currently requires it to be 'stopped' AND interrupted. If an interrupt arrives after a take, but before handleEvent is called - the interrupt status ends up being handled by hadoop.util.Shell.runCommand() - which ignores it (and in the process resets the flag).
      The eventHandling thread subsequently hangs on eventQueue.take()
      This currently randomly fails unit tests - and can hang MR AMs.

      1. MR2504_3.patch
        4 kB
        Siddharth Seth
      2. MR2504_2.patch
        4 kB
        Siddharth Seth
      3. MR2504.patch
        4 kB
        Siddharth Seth

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Siddharth Seth
            Reporter:
            Siddharth Seth
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development