LeonGao91 commented on a change in pull request #2738: URL: https://github.com/apache/hadoop/pull/2738#discussion_r589230766
########## File path: hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/mover/Mover.java ########## @@ -649,6 +664,11 @@ static int run(Map<URI, List<Path>> namenodes, Configuration conf) Map<Long, Set<DatanodeInfo>> excludedPinnedBlocks = new HashMap<>(); LOG.info("namenodes = " + namenodes); + DefaultMetricsSystem.initialize("Mover"); Review comment: We have it in the internal branch with similar implementation but it is not in upstream yet. Actually, there has been a JIRA long time ago for balancer metrics. https://issues.apache.org/jira/browse/HDFS-10648 I can rebase our changes there as a different PR after this. ---------------------------------------------------------------- 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. 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