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 "Andras Gyori (Jira)" <ji...@apache.org> on 2021/04/06 15:52:00 UTC

[jira] [Created] (YARN-10727) ParentQueue does not validate the queue on removal

Andras Gyori created YARN-10727:
-----------------------------------

             Summary: ParentQueue does not validate the queue on removal
                 Key: YARN-10727
                 URL: https://issues.apache.org/jira/browse/YARN-10727
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Andras Gyori
            Assignee: Andras Gyori


With the addition of YARN-10532 ParentQueue has a public method, removeQueue, which allows the deletion of a queue at runtime. However, there is no validation regarding the queue which is to be removed, therefore it is possible to remove a queue from the CSQueueManager that is not a child of the ParentQueue. Since it is a public method, there must be validations such as:
 * check, if the parent of the queue to be removed is the current ParentQueue
 * check, if the parent actually contains the queue in its childQueues collection



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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