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

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

Yes [~subru] I could see that change in YARN-2378. CS and Fair has now same 
behavior across for getAppsInQueue api. As you mentioned, its now a use case 
specific. As [~gp.leftnoteasy] mentioned, its better to split to make it more 
flexible. We can discuss more if this needs to be taken up now.

> 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)

Reply via email to