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

Potential ResourceManager deadlock when SchedulerEventDispatcher is stopped

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.3
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: mrv2
    • Labels:
      None

      Description

      When the main thread calls ResourceManager$SchedulerEventDispatcher.stop() it grabs a lock on the object, kicks the event processor thread, and then waits for the thread to exit. However the interrupted event processor thread can end up trying to call the synchronized getConfig() method which results in deadlock.

      1. MAPREDUCE-4139.patch
        6 kB
        Jason Lowe
      2. MAPREDUCE-4139.patch
        6 kB
        Jason Lowe

        Issue Links

          Activity

            People

            • Assignee:
              Jason Lowe
              Reporter:
              Jason Lowe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development