hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naganarasimha G R (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-6741) Deleting all children of a Parent Queue on refresh throws exception
Date Sat, 15 Jul 2017 05:11:01 GMT

     [ https://issues.apache.org/jira/browse/YARN-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Naganarasimha G R updated YARN-6741:
------------------------------------
    Description: 
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.

  was: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 validating the parent


> 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
>
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message