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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to