[
https://issues.apache.org/jira/browse/HADOOP-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637859#action_12637859
]
Steve Loughran commented on HADOOP-4365:
----------------------------------------
-we have subclassed Configuration to bind to a different configuration source;
JobConf is subclassed because so many things expect it. The reason I need to
access/override getProps() is so that when Configuration tries to enum all
property tuples, I need to generate that list, and so let the base class
serialize the state and share it.
I'll provide the patch for this.
> 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.20.0
> Reporter: Steve Loughran
>
> 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.