You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Wilfred Spiegelenburg (JIRA)" <ji...@apache.org> on 2018/11/09 02:32:00 UTC

[jira] [Created] (YARN-8994) Fix for race condition in move app and queue cleanup in FS

Wilfred Spiegelenburg created YARN-8994:
-------------------------------------------

             Summary: Fix for race condition in move app and queue cleanup in FS
                 Key: YARN-8994
                 URL: https://issues.apache.org/jira/browse/YARN-8994
             Project: Hadoop YARN
          Issue Type: Bug
          Components: fairscheduler
    Affects Versions: 3.2.0
            Reporter: Wilfred Spiegelenburg
            Assignee: Wilfred Spiegelenburg


Similar to YARN-8990 and also introduced by YARN-8191 there is a race condition while moving an application. The pre-move check looks for the queue and when it finds the queue it progresses. The real move then retrieves the queue and does further check before updating the app and queues.

The move uses the retrieved queue object but the queue could have become empty while checks are performed. If the cleanup runs at that same time the app will be moved to a deleted queue and lost.  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org