Jian He commented on YARN-3569:

[~spandan], what is your use case ? If you want to get applications for the 
given queues, you can use below API in YarnClient.
  public abstract List<ApplicationReport> getApplications(Set<String> queues,
      Set<String> users, Set<String> applicationTypes,
      EnumSet<YarnApplicationState> applicationStates)

> 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

Reply via email to