[
https://issues.apache.org/jira/browse/HDFS-9895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15195689#comment-15195689
]
Colin Patrick McCabe commented on HDFS-9895:
--------------------------------------------
I think this JIRA was misleadingly titled. The patch is about removing the
reference to the {{Configuration}} object inside {{DataNode.java}}, since we
have a reference to the exact same configuration object in the base class. It
doesn't change which aspects of the configuration we cache.
I don't think this affects the thread-safety of anything, or the
reconfiguration logic. Just like before the patch, {{DataNode.java}} is still
playing with a reference to a thread-safe (but mutable) Configuration.
Reconfiguration still happens by means of the {{ReconfigurationThread}}
invoking the {{reconfigureProperty}} method.
> Remove DataNode#conf because there is already a copy in the base class
> ----------------------------------------------------------------------
>
> Key: HDFS-9895
> URL: https://issues.apache.org/jira/browse/HDFS-9895
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: datanode
> Reporter: Xiaobing Zhou
> Assignee: Xiaobing Zhou
> Attachments: HDFS-9895.000.patch
>
>
> Since DataNode inherits ReconfigurableBase with Configured as base class
> where configuration is maintained, DataNode#conf should be removed for the
> purpose of brevity.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)