[ https://issues.apache.org/jira/browse/YARN-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Subramaniam Krishnan updated YARN-2385: --------------------------------------- Description: Currently getAppsinQueue returns both pending & running apps. The purpose of the JIRA is to explore splitting it to getRunningAppsInQueue + getPendingAppsInQueue that will provide more flexibility to callers (was: 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) > Consider splitting getAppsinQueue to getRunningAppsInQueue + > getPendingAppsInQueue > ---------------------------------------------------------------------------------- > > 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 > > Currently getAppsinQueue returns both pending & running apps. The purpose of > the JIRA is to explore splitting it to getRunningAppsInQueue + > getPendingAppsInQueue that will provide more flexibility to callers -- This message was sent by Atlassian JIRA (v6.2#6252)