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

zhihai xu commented on YARN-2802:
---------------------------------

Hi [~vinodkv],

thanks for the review. ClusterMetrics works for me. I uploaded a new patch 
YARN-2802.003.patch to address your comment.
I added AM container launch and register delay metrics to 
org.apache.hadoop.yarn.server.resourcemanager.ClusterMetrics.

thanks
zhihai

> add AM container launch and register delay metrics in QueueMetrics to help 
> diagnose performance issue.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2802
>                 URL: https://issues.apache.org/jira/browse/YARN-2802
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 2.5.0
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: YARN-2802.000.patch, YARN-2802.001.patch, 
> YARN-2802.002.patch, YARN-2802.003.patch
>
>
> add AM container launch and register delay metrics in QueueMetrics to help 
> diagnose performance issue.
> Added two metrics in QueueMetrics:
> aMLaunchDelay: the time spent from sending event AMLauncherEventType.LAUNCH 
> to receiving event RMAppAttemptEventType.LAUNCHED in RMAppAttemptImpl.
> aMRegisterDelay: the time waiting from receiving event 
> RMAppAttemptEventType.LAUNCHED to receiving event 
> RMAppAttemptEventType.REGISTERED(ApplicationMasterService#registerApplicationMaster)
>  in RMAppAttemptImpl.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to