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.

Reply via email to