You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2022/04/22 03:19:00 UTC

[GitHub] [hadoop] tasanuma commented on pull request #4210: HDFS-16552. Fix NPE for BlockManager#scheduleReconstruction

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: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org