Sunil G commented on YARN-2385:

After checking code, *AbstractYarnScheduler#killAllAppsInQueue* and 
*ClientRMService#getApplications* can be changed by a combination of these apis 
as needed.
Currently the behavior is different for Fair and CS here in these cases. A 
uniform decision can be derived and then these two news apis can be used in 
this context as needed. i feel for *killAllAppsInQueue* and *getApplications* 
both pending and running applications are needed. 
[~zjshen], [~wangda] [~subru] please suggest your thoughts. If you agree to 
this, I would like to take up this Jira.

> 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

Reply via email to