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

Zhijie Shen commented on YARN-1166:
-----------------------------------

bq. What I meant is the activeApplications and PendingApplications inside 
LeafQueue, these two also end up showing metrics on the scheduler UI and these 
two are different from the pending/running metrics of the QueueMetrics.

Those two metrics alter with application attempt being added/activated/removed, 
which is similar to those in QueueMetrics. IMHO, it is reasonable that the 
pending/active metrics (either in LeafQueue or QueueMetrics) is binding to 
application attempt, given one application can at most have one attempt at any 
time.

> YARN 'appsFailed' metric should be of type 'counter'
> ----------------------------------------------------
>
>                 Key: YARN-1166
>                 URL: https://issues.apache.org/jira/browse/YARN-1166
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.1.0-beta
>            Reporter: Srimanth Gunturi
>            Assignee: Zhijie Shen
>            Priority: Blocker
>         Attachments: YARN-1166.2.patch, YARN-1166.3.patch, YARN-1166.4.patch, 
> YARN-1166.5.patch, YARN-1166.6.patch, YARN-1166.7.patch, YARN-1166.patch
>
>
> Currently in YARN's queue metrics, the cumulative metric 'appsFailed' is of 
> type 'guage' - which means the exact value will be reported. 
> All other cumulative queue metrics (AppsSubmitted, AppsCompleted, AppsKilled) 
> are all of type 'counter' - meaning Ganglia will use slope to provide deltas 
> between time-points.
> To be consistent, AppsFailed metric should also be of type 'counter'. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to