Provide method to determine if a deprecated key was set in the config file

Key: HADOOP-6252
URL: https://issues.apache.org/jira/browse/HADOOP-6252
Project: Hadoop Common
Issue Type: Improvement
Components: conf
Affects Versions: 0.21.0
Reporter: Jakob Homan
Assignee: Jakob Homan

HADOOP-6105 provided a method to deprecate config keys and transparently refer to the new key. However, it didn't provide a method to see if the deprecated key had been used in the config file. This is useful when, if the deprecated key had been used, its value needs to be converted before use, for instance when we changed the umask format. A method like "boolean wasDeprecatedKeySet()" would be great. Patch shortly.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
postedSep 10, '09 at 10:08p
activeSep 10, '09 at 10:08p

1 user in discussion

Jakob Homan (JIRA): 1 post



site design / logo © 2022 Grokbase