tasanuma commented on PR #4210:
URL: https://github.com/apache/hadoop/pull/4210#issuecomment-1105962111

   @tomscut Thanks for reporting it. I'm not sure why CI didn't catch it in 
#4138.
   
   Instead of fixing BlockManager, I prefer to fix the unit test. How about 
adding the following line to the top of 
`testSkipReconstructionWithManyBusyNodes()` and 
`testSkipReconstructionWithManyBusyNodes2()`?
   ```java
       NameNode.initMetrics(new Configuration(), 
HdfsServerConstants.NamenodeRole.NAMENODE);
   ```


-- 
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