hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9801) ReconfigurableBase should update the cached configuration
Date Fri, 12 Feb 2016 20:55:18 GMT

    [ https://issues.apache.org/jira/browse/HDFS-9801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15145284#comment-15145284
] 

Hudson commented on HDFS-9801:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9298 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9298/])
HDFS-9801. ReconfigurableBase should update the cached configuration. (arp: rev 1de1641f17f890059e85e57304ce33c7070a08de)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeHotSwapVolumes.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailure.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Reconfigurable.java
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestReconfiguration.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDataNodeVolumeFailureReporting.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/ReconfigurableBase.java


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

Mime
View raw message