[ 
https://issues.apache.org/jira/browse/HDFS-15842?focusedWorklogId=562166&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-562166
 ]

ASF GitHub Bot logged work on HDFS-15842:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Mar/21 08:01
            Start Date: 08/Mar/21 08:01
    Worklog Time Spent: 10m 
      Work Description: 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.
   
   Surely, we can put the changes together. Let me update the JIRA to include 
the balancer metrics.




----------------------------------------------------------------
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:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 562166)
    Time Spent: 0.5h  (was: 20m)

> HDFS mover to emit metrics
> --------------------------
>
>                 Key: HDFS-15842
>                 URL: https://issues.apache.org/jira/browse/HDFS-15842
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: balancer &amp; mover
>            Reporter: Leon Gao
>            Assignee: Leon Gao
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> We can emit metrics thru metrics2 when running HDFS mover, which can help to 
> monitor the progress and turn mover parameters.



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

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

Reply via email to