[
https://issues.apache.org/jira/browse/HADOOP-3648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608830#action_12608830
]
Owen O'Malley commented on HADOOP-3648:
---------------------------------------
This should just be removed. The data nodes are *not* singletons. In
particular, it is violated by the unit tests.
> improve singleton handling in DataNode
> --------------------------------------
>
> Key: HADOOP-3648
> URL: https://issues.apache.org/jira/browse/HADOOP-3648
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Affects Versions: 0.19.0
> Reporter: Steve Loughran
> Priority: Minor
>
> when a DataNode is constructed, it saves its identity to a static field:
> datanodeObject=this;
> 1. there's no check on what if this is already set
> 2. when the datanode terminates, it may want to set this to null
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.