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

Zhijie Shen commented on YARN-1001:
-----------------------------------

bq. we are expecting /ws/v1/cluster/appscount to provide all 
app-types/state-counts in 1 call

To prevent RM from being overwhelmed, when no params is specified, the API 
returns a empty response. Users must supply the states and the types (at least 
one) to get the counts.

bq. Apart from that, we need /ws/v1/cluster/appscount information pushed to 
Ganglia.

Though some discussion, we'd like to exclude this requirement from the scope of 
this jira due to the performance concern. We can open a ticket to trace it 
separately.

Another issue we need to clarify is that the counts depend on the current apps 
in RMContext. Old finished apps may be removed from the context if the total 
app number reaches the limit. Therefore, the count of "completed" apps may only 
reflect the count of those in RMContext. Should emphasize the apps in RMContext 
in the document.
                
> YARN should provide per application-type and state statistics
> -------------------------------------------------------------
>
>                 Key: YARN-1001
>                 URL: https://issues.apache.org/jira/browse/YARN-1001
>             Project: Hadoop YARN
>          Issue Type: Task
>          Components: api
>    Affects Versions: 2.1.0-beta
>            Reporter: Srimanth Gunturi
>            Assignee: Zhijie Shen
>         Attachments: YARN-1001.1.patch
>
>
> In Ambari we plan to show for MR2 the number of applications finished, 
> running, waiting, etc. It would be efficient if YARN could provide per 
> application-type and state aggregated counts.

--
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

Reply via email to