hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4840) ReplicationMonitor and FSEditLogLoader get NPE during shutdown
Date Thu, 23 May 2013 15:41:23 GMT

    [ 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

Mime
View raw message