[
https://issues.apache.org/jira/browse/YARN-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199950#comment-14199950
]
zhihai xu commented on YARN-2802:
---------------------------------
Hi [~vinodkv], thanks to review the patch. I looked at RMAppAttemptMetrics and
RMAppMetrics. They are used for RM WebGUI and also they are used to show each
App and APPAttempt information.
I want to add AM container launch and register delay in the Metrics system
using MutableRate to show the statistics for all App and AppAttempt, So I can
use JMX(http://???.???.com:8088/jmx) to monitor AM container launch and
register delay to help diagnose performance issue.
Will RMAppAttemptMetrics and RMAppMetrics meet my needs? The QueueMetrics can
meet my needs.
Currently the QueueMetrics already have some App statistics
information(appsSubmitted, appsRunning, appsCompleted ....).
Will it be reasonable to add AM statistics information to QueueMetrics? Since
AM is tight to App.
> 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
>
>
> 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)