[ https://issues.apache.org/jira/browse/YARN-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095718#comment-14095718 ]
Sunil G commented on YARN-2385: ------------------------------- I am not sure whether we need to check about completed apps for CS and Fair? Only in this case of having completed apps, we have problem of evicting apps beyond a limit as mentioned by [~wangda] in YARN-807. May be two separate apis (getRunningAppsInQueue, getPendingAppsInQueue) with common behavior across CS/Fair could be a better approach. > 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 (v6.2#6252)