You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2009/05/20 18:22:45 UTC
[jira] Commented: (HADOOP-3648) improve singleton handling in
DataNode
[ https://issues.apache.org/jira/browse/HADOOP-3648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711209#action_12711209 ]
Steve Loughran commented on HADOOP-3648:
----------------------------------------
in SVN_HEAD, The FileChecksumServlets also assume that getDataNode() returns their datanode; that is information that should be passed to the servlet as a parameter when setting up the servlet context.
> 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.20.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.