hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6109) Add an ability to convert ChildQueue to ParentQueue
Date Wed, 29 Mar 2017 21:07:41 GMT

    [ https://issues.apache.org/jira/browse/YARN-6109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947886#comment-15947886

Xuan Gong commented on YARN-6109:

Thanks for the comments. [~subru].

After carefully investigation, I still prefer to create a separate ticket to make sure reservation
system work for Stop/Delete/Convert queue scenarios. And we should do:
* For Delete/Convert a queue, we will make sure the current queue is in the stopped state
which means we should stop the queue first. For the reservation system/plan queue, we should
check the current leaf queue (if it is a parent queue, check its children) whether it has
the future reservations or not. If it does not, we could stop the queue. Otherwise, we would
throw out exception and ask the user to remove the reservation first.

* To submits a reservation creation request, we should always make sure the current leaf queue
is in RUNNING state. Otherwise, we would reject the request.

[~leftnoteasy] [~subru] If you are fine with the plan, i will create a separate ticket.

> Add an ability to convert ChildQueue to ParentQueue
> ---------------------------------------------------
>                 Key: YARN-6109
>                 URL: https://issues.apache.org/jira/browse/YARN-6109
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacity scheduler
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-6109.1.patch, YARN-6109.2.patch, YARN-6109.rebase.patch

This message was sent by Atlassian JIRA

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

View raw message