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

shanyu zhao updated HADOOP-10178:
---------------------------------

    Attachment: HADOOP-10178-v2.patch

Add getAlternativeNames() method to get the non-deprecated alias of a given 
non-deprecated key. When set a non-deprecated key, we need to check if it has 
any alias (that deprecate the same key) non-deprecated keys and set those 
properties as well.

> Configuration deprecation always emit "deprecated" warnings when a new key is 
> used
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-10178
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10178
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 2.2.0
>            Reporter: shanyu zhao
>            Assignee: shanyu zhao
>         Attachments: HADOOP-10178-v2.patch, HADOOP-10178.patch
>
>
> Even if you use any new configuration properties, you still find "deprecated" 
> warnings in your logs. E.g.:
> 13/12/14 01:00:51 INFO Configuration.deprecation: mapred.input.dir.recursive 
> is deprecated. Instead, use 
> mapreduce.input.fileinputformat.input.dir.recursive



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to