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 "Todd Lipcon (Created) (JIRA)" <ji...@apache.org> on 2011/11/18 01:48:57 UTC

[jira] [Created] (HDFS-2562) Refactor DN configuration variables out of DataNode class

Refactor DN configuration variables out of DataNode class
---------------------------------------------------------

                 Key: HDFS-2562
                 URL: https://issues.apache.org/jira/browse/HDFS-2562
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: data-node
    Affects Versions: 0.24.0, 0.23.1
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
            Priority: Minor


Right now there are many member variables in DataNode.java which are just read from configuration when the DN is started. Similar to what we did with DFSClient, we should refactor them into a new DNConf class which can be passed around - the motivation is to remove the many references we have throughout the code that read package-protected members of DataNode and reduce the number of members in DataNode itself.

--
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