You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sandy Ryza (JIRA)" <ji...@apache.org> on 2014/02/13 00:06:20 UTC

[jira] [Commented] (YARN-1721) When moving app between queues in Fair Scheduler, grab lock on FSSchedulerApp

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

Sandy Ryza commented on YARN-1721:
----------------------------------

To avoid deadlocks, we'll need to make sure that if we lock queues in move, we lock them before the apps they run in.

> When moving app between queues in Fair Scheduler, grab lock on FSSchedulerApp
> -----------------------------------------------------------------------------
>
>                 Key: YARN-1721
>                 URL: https://issues.apache.org/jira/browse/YARN-1721
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>
> FairScheduler.moveApplication should grab lock on FSSchedulerApp, so that allocate() can't be modifying it at the same time.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)