tomicooler commented on code in PR #5644: URL: https://github.com/apache/hadoop/pull/5644#discussion_r1190991579
########## hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/CapacitySchedulerConfigValidator.java: ########## @@ -56,8 +60,6 @@ public static boolean validateCSConfiguration( return true; } finally { newCs.stop(); - QueueMetrics.clearQueueMetrics(); - liveScheduler.resetSchedulerMetrics(); Review Comment: Note to reviewers: resetSchedulerMetrics does not contain any QueueMetrics, not sure why it was added in YARN-11211. ########## hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/QueueMetrics.java: ########## @@ -48,6 +48,7 @@ import org.apache.hadoop.yarn.metrics.CustomResourceMetricValue; import org.apache.hadoop.yarn.server.resourcemanager.nodelabels.RMNodeLabelsManager; import org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppState; +import org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacitySchedulerConfiguration; Review Comment: Note: I don't think the QueueMetrics should depend on capacity.anything, but I'm not sure where to put this config option. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org