You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Subroto Sanyal (JIRA)" <ji...@apache.org> on 2012/05/23 09:37:41 UTC

[jira] [Created] (HADOOP-8426) API to get info for deprecated key

Subroto Sanyal created HADOOP-8426:
--------------------------------------

             Summary: API to get info for deprecated key
                 Key: HADOOP-8426
                 URL: https://issues.apache.org/jira/browse/HADOOP-8426
             Project: Hadoop Common
          Issue Type: Bug
          Components: conf
    Affects Versions: 0.23.1
            Reporter: Subroto Sanyal


The current version of Hadoop deprecates many keys but, takes care of adding the new keys to the configuration accordingly.
For the end user only logs are there which indicates the key is deprecated and the message also suggests the new key to be used.

I was thinking; there should be an API/Utility which could probably provide the new key information when called with old key.
Using this API the user can judge in runtime to use the old key or new key.
Currently the Configuration provides an API only to check whether a key is deprecated or not but, doesn't provides a way to get the corresponding new key.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira