[
https://issues.apache.org/jira/browse/HDFS-9801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15145269#comment-15145269
]
ASF GitHub Bot commented on HDFS-9801:
--------------------------------------
Github user arp7 closed the pull request at:
https://github.com/apache/hadoop/pull/73
> ReconfigurableBase should update the cached configuration
> ---------------------------------------------------------
>
> Key: HDFS-9801
> URL: https://issues.apache.org/jira/browse/HDFS-9801
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Affects Versions: 2.8.0
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Fix For: 2.8.0
>
> Attachments: HADOOP-12476.02.patch, HADOOP-12746.01.patch,
> HADOOP-12746.03.patch, HADOOP-12746.04.patch
>
>
> {{ReconfigurableBase#startReconfigurationTask}} does not update its cached
> configuration after a property is reconfigured. This means that configuration
> values queried via {{getConf().get(...)}} can be outdated. One way to fix it
> is {{ReconfigurableBase#reconfigurePropertyImpl}} returns the new effective
> value of the config setting and caller i.e. ReconfigurableBase will use it to
> update the configuration.
> See discussion on HDFS-7035 for more background.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)