whbing commented on PR #5203:
URL: https://github.com/apache/hadoop/pull/5203#issuecomment-1455937257

   @Jing9  @Happy-shi  hello, anyone follow up on this issue? I had the same 
problem with balancer.
   ```java
   2023-03-06 17:40:53,264 ERROR 
org.apache.hadoop.hdfs.server.balancer.Balancer: Exiting balancer due an 
exception
   org.apache.hadoop.metrics2.MetricsException: Metrics source 
Balancer-BP-332003681-10.196.164.22-1648632173322 already exists!
           at 
org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newSourceName(DefaultMetricsSystem.java:225)
           at 
org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.sourceName(DefaultMetricsSystem.java:198)
           at 
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:229)
           at 
org.apache.hadoop.hdfs.server.balancer.BalancerMetrics.create(BalancerMetrics.java:55)
           at 
org.apache.hadoop.hdfs.server.balancer.Balancer.<init>(Balancer.java:344)
           at 
org.apache.hadoop.hdfs.server.balancer.Balancer.doBalance(Balancer.java:809)
           at 
org.apache.hadoop.hdfs.server.balancer.Balancer.run(Balancer.java:847)
           at 
org.apache.hadoop.hdfs.server.balancer.Balancer$Cli.run(Balancer.java:952)
           at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
           at 
org.apache.hadoop.hdfs.server.balancer.Balancer.main(Balancer.java:1102)
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to