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

Sunil G commented on YARN-2385:
-------------------------------

I feel this JIRA itself can be updated to split the getAppsinQueue to 
getRunningAppsInQueue + getPendingAppsInQueue.

I have a doubt though, getAppsInQueue is used by killAllAppsInQueue and 
ClientRMService#getApplications. Generically we need to define which api to be 
replaced in all these callee side. Or will it be getRunningAppsInQueue + 
getPendingAppsInQueue together?

> 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 Krishnan
>              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
(v6.2#6252)

Reply via email to