[ https://issues.apache.org/jira/browse/HDFS-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664367#comment-13664367 ]
Aaron T. Myers commented on HDFS-4840: -------------------------------------- I've also seen this fail recently during a run of TestListCorruptFileBlocks, here: https://builds.apache.org/job/PreCommit-HDFS-Build/4420//testReport/org.apache.hadoop.hdfs.server.namenode/TestListCorruptFileBlocks/testListCorruptFileBlocksInSafeMode/ Stack trace: {noformat} 2013-05-21 15:48:06,280 FATAL blockmanagement.BlockManager (BlockManager.java:run(3101)) - ReplicationMonitor thread received Runtime exception. java.lang.NullPointerException at org.apache.hadoop.hdfs.server.blockmanagement.BlocksMap.getBlockCollection(BlocksMap.java:77) at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeReplicationWorkForBlocks(BlockManager.java:1155) at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeReplicationWork(BlockManager.java:1130) at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.computeDatanodeWork(BlockManager.java:3132) at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$ReplicationMonitor.run(BlockManager.java:3094) at java.lang.Thread.run(Thread.java:662) {noformat} > ReplicationMonitor and FSEditLogLoader get NPE during shutdown > -------------------------------------------------------------- > > Key: HDFS-4840 > URL: https://issues.apache.org/jira/browse/HDFS-4840 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Affects Versions: 3.0.0 > Reporter: Kihwal Lee > > TestBlocksWithNotEnoughRacks occasionally fails during test tear down because > RaplicationMonitor gets NPE. > Seen at https://builds.apache.org/job/Hadoop-Hdfs-trunk/1406/. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira