You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "chaosju (Jira)" <ji...@apache.org> on 2021/04/26 07:05:01 UTC

[jira] [Commented] (YARN-9615) Add dispatcher metrics to RM

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

chaosju commented on YARN-9615:
-------------------------------

{code:java}
// code placeholder
   protected Dispatcher createDispatcher() {
    AsyncDispatcher dispatcher = new AsyncDispatcher("RM Event dispatcher");
    GenericEventTypeMetrics genericEventTypeMetrics =
        GenericEventTypeMetricsManager.
        create(dispatcher.getName(), NodesListManagerEventType.class);
    // We can add more
    dispatcher.addMetrics(genericEventTypeMetrics,
        genericEventTypeMetrics.getEnumClass());
    return dispatcher;
}{code}
Metrics should think about  RMNodeEvent、RMAppAttemptEvent、RMAppEvent etc,Which has great frequency?Reference https://issues.apache.org/jira/browse/YARN-9927

Or this method may make event collection configurable?

[~zhuqi]

 

 
{code:java}
 {code}
 

> Add dispatcher metrics to RM
> ----------------------------
>
>                 Key: YARN-9615
>                 URL: https://issues.apache.org/jira/browse/YARN-9615
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jonathan Hung
>            Assignee: Qi Zhu
>            Priority: Major
>             Fix For: 3.4.0
>
>         Attachments: YARN-9615.001.patch, YARN-9615.002.patch, YARN-9615.003.patch, YARN-9615.004.patch, YARN-9615.005.patch, YARN-9615.006.patch, YARN-9615.007.patch, YARN-9615.008.patch, YARN-9615.009.patch, YARN-9615.010.patch, YARN-9615.011.patch, YARN-9615.011.patch, YARN-9615.poc.patch, image-2021-03-04-10-35-10-626.png, image-2021-03-04-10-36-12-441.png, screenshot-1.png
>
>
> It'd be good to have counts/processing times for each event type in RM async dispatcher and scheduler async dispatcher.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org