hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key
Date Thu, 22 Mar 2012 17:02:22 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235724#comment-13235724
] 

Hudson commented on HADOOP-8197:
--------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #705 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/705/])
    Merge -r 1303883:1303884 from trunk to branch. FIXES: HADOOP-8197 (Revision 1303886)

     Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1303886
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestDeprecatedKeys.java

                
> Configuration logs WARNs on every use of a deprecated key
> ---------------------------------------------------------
>
>                 Key: HADOOP-8197
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8197
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf
>    Affects Versions: 0.24.0, 0.23.3
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Critical
>             Fix For: 0.23.3
>
>         Attachments: HADOOP-8197.patch, HADOOP-8197.patch
>
>
> The logic to do print a warning only once per deprecated key does not work:
> {code}
> 2012-03-21 22:32:58,121  WARN Configuration:661 - user.name is deprecated. Instead, use
mapreduce.job.user.name
> ....
> 2012-03-21 22:32:58,123  WARN Configuration:661 - fs.default.name is deprecated. Instead,
use fs.defaultFS
> ...
> 2012-03-21 22:32:58,130  WARN Configuration:661 - mapred.job.tracker is deprecated. Instead,
use mapreduce.jobtracker.address
> 2012-03-21 22:32:58,351  WARN Configuration:345 - fs.default.name is deprecated. Instead,
use fs.defaultFS
> ...
> 2012-03-21 22:32:58,843  WARN Configuration:661 - user.name is deprecated. Instead, use
mapreduce.job.user.name
> 2012-03-21 22:32:58,844  WARN Configuration:661 - mapred.job.tracker is deprecated. Instead,
use mapreduce.jobtracker.address
> 2012-03-21 22:32:58,844  WARN Configuration:661 - fs.default.name is deprecated. Instead,
use fs.defaultFS
> {code}

--
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

        

Mime
View raw message