Wei Yan commented on YARN-2385:

The YarnScheduler.java already has a function which has implemented in 
public List<ApplicationAttemptId> getAppsInQueue(String queueName);
Is this enough for this jira?

> Adding support for listing all applications in a queue
> ------------------------------------------------------
>                 Key: YARN-2385
>                 URL: https://issues.apache.org/jira/browse/YARN-2385
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler, fairscheduler
>            Reporter: Subramaniam Venkatraman Krishnan
>            Assignee: Karthik Kambatla
>              Labels: abstractyarnscheduler
> This JIRA proposes adding a method in AbstractYarnScheduler to get all the 
> pending/active applications. Fair scheduler already supports moving a single 
> application from one queue to another. Support for the same is being added to 
> Capacity Scheduler as part of YARN-2378 and YARN-2248. So with the addition 
> of this method, we can transparently add support for moving all applications 
> from source queue to target queue and draining a queue, i.e. killing all 
> applications in a queue as proposed by YARN-2389

This message was sent by Atlassian JIRA

Reply via email to