You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Trevor Lorimer (JIRA)" <ji...@apache.org> on 2013/08/02 18:05:50 UTC

[jira] [Commented] (YARN-696) Enable multiple states to to be specified in Resource Manager apps REST call

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

Trevor Lorimer commented on YARN-696:
-------------------------------------

Thanks for the comments, though is it okay to change "state" to "states"? as the following link would need to be changed to reflect this: 
http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Applications_API
                
> Enable multiple states to to be specified in Resource Manager apps REST call
> ----------------------------------------------------------------------------
>
>                 Key: YARN-696
>                 URL: https://issues.apache.org/jira/browse/YARN-696
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 2.0.4-alpha
>            Reporter: Trevor Lorimer
>            Assignee: Trevor Lorimer
>            Priority: Trivial
>         Attachments: 0001-YARN-696.patch
>
>
> Within the YARN Resource Manager REST API the GET call which returns all Applications can be filtered by a single State query parameter (http://<rm http address:port>/ws/v1/cluster/apps). 
> There are 8 possible states (New, Submitted, Accepted, Running, Finishing, Finished, Failed, Killed), if no state parameter is specified all states are returned, however if a sub-set of states is required then multiple REST calls are required (max. of 7).
> The proposal is to be able to specify multiple states in a single REST call.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira