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

Jian He commented on YARN-2389:
-------------------------------

looks good overall:
- we can use rm.waitForState( app, killed_state) for the following
{code}
    // check postconditions
    Thread.sleep(1000);
{code}

> Adding support for drainig a queue, ie killing all apps in the queue
> --------------------------------------------------------------------
>
>                 Key: YARN-2389
>                 URL: https://issues.apache.org/jira/browse/YARN-2389
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler, fairscheduler
>            Reporter: Subramaniam Venkatraman Krishnan
>            Assignee: Subramaniam Venkatraman Krishnan
>              Labels: capacity-scheduler, fairscheduler
>         Attachments: YARN-2389.patch
>
>
> This is a parallel JIRA to YARN-2378. Fair scheduler already supports moving 
> a single application from one queue to another. This will add support to move 
> all applications from the specified source queue to target. This will use 
> YARN-2385 so will work for both Capacity & Fair scheduler.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to