[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hadoop-dev
Subject:    [jira] [Resolved] (HADOOP-11302) Configuration#set method should honor final properties
From:       "Kannan Rajah (JIRA)" <jira () apache ! org>
Date:       2014-11-20 18:50:34
Message-ID: JIRA.12754947.1415844288000.546410.1416509434509 () Atlassian ! JIRA
[Download RAW message or body]


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

Kannan Rajah resolved HADOOP-11302.
-----------------------------------
    Resolution: Not a Problem

> Configuration#set method should honor final properties
> ------------------------------------------------------
> 
> Key: HADOOP-11302
> URL: https://issues.apache.org/jira/browse/HADOOP-11302
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.5.1
> Reporter: Kannan Rajah
> Assignee: Kannan Rajah
> Attachments: final-properties.patch
> 
> 
> Configuration class has several methods to add a configuration resource. The
> properties of this resource can override properties of previously added
> resources, unless they were marked final. According to the Javadoc for \
> Configuration.java, the check for final properties is done only while loading \
> resources. But it makes sense to do this check in the set API as well. Otherwise, \
> users will be able to override final properties set by admin.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic