[
https://issues.apache.org/jira/browse/YARN-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091887#comment-16091887
]
Sunil G commented on YARN-6741:
-------------------------------
Thanks [[email protected]] for the explanation. I think I understood
your thinking behind same. A second thought which was coming to my mind about
the ready availability of old ParentQueue as LeafQueue just right after
refresh. It will get applications straight after refresh. This was my doubt, I
am not very sure about the use case which you were intending. If its fine to
convert as LeafQueue along with queue refresh itself, i think its fine. Else we
might need to explicitly start that queue, so that admin may get an extra knob
to really make that queue operational. I think its purely based on use case and
I feel you can share more thoughts on same, how do you intend to make this
queue operation for an admin.
> Deleting all children of a Parent Queue on refresh throws exception
> -------------------------------------------------------------------
>
> Key: YARN-6741
> URL: https://issues.apache.org/jira/browse/YARN-6741
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: capacity scheduler
> Affects Versions: 3.0.0-alpha3
> Reporter: Naganarasimha G R
> Assignee: Naganarasimha G R
> Attachments: YARN-6741.001.patch, YARN-6741.002.patch,
> YARN-6741.003.patch
>
>
> If we configure CS such that all children of a parent queue are deleted and
> made as a leaf queue, then {{refreshQueue}} operation fails when
> re-initializing the parent Queue
> {code}
> // Sanity check
> if (!(newlyParsedQueue instanceof ParentQueue) || !newlyParsedQueue
> .getQueuePath().equals(getQueuePath())) {
> throw new IOException(
> "Trying to reinitialize " + getQueuePath() + " from "
> + newlyParsedQueue.getQueuePath());
> }
> {code}
> *Expected Behavior:*
> Converting a Parent Queue to leafQueue on refreshQueue needs to be supported.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]