[
https://issues.apache.org/jira/browse/HADOOP-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran updated HADOOP-4365:
-----------------------------------
Attachment: hadoop-4365.patch
This patch adds tests that
* the Configuration.getProperties() method is accessible from subclasses
* if you add a new default property, configuration files get their
reloadConfiguration() method called.
* if you call Configuration.setQuietMode(true), then getProperties() is one
place where a load error is raised.
There's a new empty configuration xml file added as default, it cannot be
unloaded until HADOOP-5093 is fixed.
> Configuration.getProps() should be made protected for ease of overriding
> ------------------------------------------------------------------------
>
> Key: HADOOP-4365
> URL: https://issues.apache.org/jira/browse/HADOOP-4365
> Project: Hadoop Core
> Issue Type: Improvement
> Components: conf
> Affects Versions: 0.21.0
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Fix For: 0.21.0
>
> Attachments: hadoop-4365.patch, hadoop-4365.patch
>
>
> HADOOP-4293 does make Configuration cleaner and easier to work with, but it
> does contain assumptions about how configurations are represented (in a
> private Properties instance) that subclasses may wish to diverge from.
> By making getProps() protected, people who subclass JobConf or Configuration
> can do their own binding from configuration data to Properties.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.