[
https://issues.apache.org/jira/browse/YARN-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757973#comment-13757973
]
Zhijie Shen commented on YARN-1001:
-----------------------------------
[~srimanth.gunturi], for /ws/v1/cluster/appscount, does Ambari want to specify
multiple states and multiple application-types in the params, and get the per
application-type and state count for every combination of one application-type
and one state? Or Ambari is fine to make multiple calls, each of which just
specify one (or zero) application-type and state? The two cases make a big
difference to the results. The former one needs to return a table which
contains the counts of all application-type and state combinations, while the
latter one is so simple to return one number.
bq. I am hoping that these calls include both the current/real-time app-type
counts, as well as historical information (atleast until last RM restart)?
A count every constant time interval? Would you please specify more about the
requirement?
bq. There's no restrictions on the type of an app (unless someone wants to add
those restrictions right now, which may not be a bad idea), so you need to make
sure the unusual characters make it all the way to this API and back
Sounds a good idea
> 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