hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-325) RM CapacityScheduler can deadlock when getQueueInfo() is called and a container is completing
Date Wed, 09 Jan 2013 21:06:14 GMT

    [ https://issues.apache.org/jira/browse/YARN-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13549001#comment-13549001
] 

Hudson commented on YARN-325:
-----------------------------

Integrated in Hadoop-trunk-Commit #3205 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/3205/])
    YARN-325. RM CapacityScheduler can deadlock when getQueueInfo() is called and a container
is completing (Arun C Murthy via tgraves) (Revision 1431070)

     Result = SUCCESS
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1431070
Files : 
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CSAssignment.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacityScheduler.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java

                
> RM CapacityScheduler can deadlock when getQueueInfo() is called and a container is completing
> ---------------------------------------------------------------------------------------------
>
>                 Key: YARN-325
>                 URL: https://issues.apache.org/jira/browse/YARN-325
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>    Affects Versions: 2.0.2-alpha, 0.23.5
>            Reporter: Jason Lowe
>            Assignee: Arun C Murthy
>            Priority: Blocker
>             Fix For: 3.0.0, 2.0.3-alpha, 0.23.6
>
>         Attachments: YARN-325-branch23.patch, YARN-325.patch, YARN-325.patch
>
>
> If a client calls getQueueInfo on a parent queue (e.g.: the root queue) and containers
are completing then the RM can deadlock.  getQueueInfo() locks the ParentQueue and then calls
the child queues' getQueueInfo() methods in turn.  However when a container completes, it
locks the LeafQueue then calls back into the ParentQueue.  When the two mix, it's a recipe
for deadlock.
> Stacktrace to follow.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message