Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2504

MR 279: race in JobHistoryEventHandler stop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • mrv2
    • None
    • 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.

      Attachments

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

        Activity

          People

            sseth Siddharth Seth
            sseth Siddharth Seth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: