You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Eli Collins (Created) (JIRA)" <ji...@apache.org> on 2012/03/05 21:21:58 UTC
[jira] [Created] (HDFS-3048) Small race in BlockManager#close
Small race in BlockManager#close
--------------------------------
Key: HDFS-3048
URL: https://issues.apache.org/jira/browse/HDFS-3048
Project: Hadoop HDFS
Issue Type: Bug
Components: name-node
Affects Versions: 0.23.2
Reporter: Eli Collins
Assignee: Eli Collins
There's a small race in BlockManager#close, we close the BlocksMap before the replication monitor, which means the replication monitor can NPE if it tries to access the blocks map. We need to swap the order (close the blocks map after shutting down the repl monitor).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (HDFS-3048) Small race in BlockManager#close
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-3048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eli Collins reopened HDFS-3048:
-------------------------------
> Small race in BlockManager#close
> --------------------------------
>
> Key: HDFS-3048
> URL: https://issues.apache.org/jira/browse/HDFS-3048
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Affects Versions: 0.23.2
> Reporter: Eli Collins
> Assignee: Eli Collins
> Attachments: hdfs-3048.txt
>
>
> There's a small race in BlockManager#close, we close the BlocksMap before the replication monitor, which means the replication monitor can NPE if it tries to access the blocks map. We need to swap the order (close the blocks map after shutting down the repl monitor).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira