[
https://issues.apache.org/jira/browse/HDFS-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665277#comment-13665277
]
Kihwal Lee commented on HDFS-4840:
----------------------------------
For ReplicationMonitor, it must be not terminating in 3 seconds specified in
BlockManager#close(). In the log provided by Aaron, the namenode was shutting
down and 3 seconds later ReplicationMonitor blew up. ReplicationMonitor can be
made aware of the fact that BlockManager is shutting down. Perhaps in the catch
block of its run() method, it can avoid exiting if interrupted() is true.
The failure in FSEditLogLoader doesn't seem to be related. It was failing while
manipulating INodeMap. I will file a separate jira for this.
> 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