hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunil G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6894) RM Apps API returns only active apps when query parameter queue used
Date Thu, 03 Aug 2017 11:29:00 GMT

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

Sunil G commented on YARN-6894:
-------------------------------

I think its better we document for now rather changing behavior. For more data (such as pending),
we can add new query param if needed and that could be done as improvement.

> 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
>            Priority: Minor
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message