[ https://issues.apache.org/jira/browse/YARN-6894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16116992#comment-16116992 ]
Grant Sohn edited comment on YARN-6894 at 8/7/17 6:27 PM: ---------------------------------------------------------- I think this is too subtle. I would say: {noformat} queue - queue name, **Note** specifying the queue parameter will implicitly filter on only the **unfinished** applications that are currently in this queue {noformat} Since it's not standard, it really needs to be called out more clearly. What do you think? was (Author: gsohn): I think this is too subtle. I would say: {noformat} queue - queue name, **Note** specifying the queue parameter will implicitly filter on only the **unfinished** applications that are currently in this queue {noformat} Since it's not standard, it really needs to be called out more clearly. However, I on > RM Apps API returns only active apps when query parameter queue used > -------------------------------------------------------------------- > > Key: YARN-6894 > URL: https://issues.apache.org/jira/browse/YARN-6894 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager, restapi > Reporter: Grant Sohn > Assignee: Gergely Novák > Priority: Minor > Attachments: YARN-6894.001.patch > > > If you run RM's Cluster Applications API with no query parameters, you get a > list of apps. > If you run RM's Cluster Applications API with any query parameters other than > "queue" you get the list of apps with the parameter filters being applied. > However, when you use the "queue" query parameter, you only see the > applications that are active in the cluster (NEW, NEW_SAVING, SUBMITTED, > ACCEPTED, RUNNING). This behavior is inconsistent with the API. If there is > a sound reason behind this, it should be documented and it seems like there > might be as the mapred queue CLI behaves similarly. > http://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Applications_API -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org