hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-4139) Potential ResourceManager deadlock when SchedulerEventDispatcher is stopped
Date Wed, 11 Apr 2012 21:31:16 GMT
Potential ResourceManager deadlock when SchedulerEventDispatcher is stopped
---------------------------------------------------------------------------

                 Key: MAPREDUCE-4139
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4139
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
    Affects Versions: 0.23.3
            Reporter: Jason Lowe
            Assignee: Jason Lowe


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message