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

Spandan Dutta commented on YARN-3569:
-------------------------------------

[~vinodkv]
I think we should do both 1 and 2.
For doing 1 we can just have a overloaded function that takes a boolean 
parameter. getAllApplications(boolean). The boolean parameter would indicate 
whether we want the application list for a queue or not. This will cater to the 
use case that was pointed out in my previous comment.

For doing 2 we should inform people about this and point to the new api 
mentioned in point 1.

Any thoughts on this ?

> YarnClient.getAllQueues returns a list of queues that do not display running 
> apps.
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-3569
>                 URL: https://issues.apache.org/jira/browse/YARN-3569
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: api
>    Affects Versions: 2.8.0
>            Reporter: Spandan Dutta
>            Assignee: Spandan Dutta
>         Attachments: YARN-3569.patch
>
>
> YarnClient.getAllQueues() returns a list of queues. If we pick a queue from 
> this list and call getApplications on it, we always get an empty list 
> even-though applications are running on that queue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to