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

ASF GitHub Bot commented on YARN-11476:
---------------------------------------

slfan1989 commented on code in PR #5599:
URL: https://github.com/apache/hadoop/pull/5599#discussion_r1178670963


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/NodeManager.java:
##########
@@ -498,6 +504,16 @@ protected void serviceInit(Configuration conf) throws 
Exception {
     registerMXBean();
 
     context.getContainerExecutor().start();
+
+    eventQueueMetricExecutor = new ScheduledThreadPoolExecutor(1,
+        new ThreadFactoryBuilder().setDaemon(true)
+            .setNameFormat("EventQueueSizeMetricThread").build());

Review Comment:
   code looks good, 5 chars





> Add  NodeManager metric for event queue size of dispatcher
> ----------------------------------------------------------
>
>                 Key: YARN-11476
>                 URL: https://issues.apache.org/jira/browse/YARN-11476
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: dzcxzl
>            Priority: Minor
>              Labels: pull-request-available
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to