hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12746) ReconfigurableBase should update the cached configuration
Date Fri, 12 Feb 2016 05:38:18 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-12746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arpit Agarwal updated HADOOP-12746:
-----------------------------------
    Description: 
{{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.

  was:
{{ReconfigurableBase}} does not always update the cached configuration after a property is
reconfigured.

The older {{#reconfigureProperty}} does so however {{ReconfigurationThread}} does not.

See discussion on HDFS-7035 for more background.


> ReconfigurableBase should update the cached configuration
> ---------------------------------------------------------
>
>                 Key: HADOOP-12746
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12746
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: HADOOP-12476.02.patch, HADOOP-12746.01.patch, HADOOP-12746.03.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