You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Alejandro Abdelnur (Created) (JIRA)" <ji...@apache.org> on 2012/03/22 06:50:22 UTC

[jira] [Created] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

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
            Priority: Critical
             Fix For: 0.23.3


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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235721#comment-13235721 ] 

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

Integrated in Hadoop-Common-trunk-Commit #1915 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1915/])
    HADOOP-8197. Configuration logs WARNs on every use of a deprecated key (tucu) (Revision 1303884)

     Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1303884
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
* /hadoop/common/trunk/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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235720#comment-13235720 ] 

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

Integrated in Hadoop-Hdfs-trunk-Commit #1989 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1989/])
    HADOOP-8197. Configuration logs WARNs on every use of a deprecated key (tucu) (Revision 1303884)

     Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1303884
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
* /hadoop/common/trunk/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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated HADOOP-8197:
---------------------------------------

    Status: Patch Available  (was: Open)
    
> 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
>
>
> 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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Harsh J (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235685#comment-13235685 ] 

Harsh J commented on HADOOP-8197:
---------------------------------

+1, patch looks good.

One optional nitpick though: Would {{warnOnceIfDeprecated}} be a better method name?
                
> 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
>
>
> 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

        

[jira] [Assigned] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Alejandro Abdelnur (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur reassigned HADOOP-8197:
------------------------------------------

    Assignee: Alejandro Abdelnur
    
> 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
>
>
> 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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235776#comment-13235776 ] 

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

Integrated in Hadoop-Mapreduce-trunk-Commit #1924 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1924/])
    HADOOP-8197. Configuration logs WARNs on every use of a deprecated key (tucu) (Revision 1303884)

     Result = ABORTED
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1303884
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
* /hadoop/common/trunk/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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236562#comment-13236562 ] 

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

Integrated in Hadoop-Hdfs-trunk #993 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/993/])
    HADOOP-8197. Configuration logs WARNs on every use of a deprecated key (tucu) (Revision 1303884)

     Result = FAILURE
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1303884
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
* /hadoop/common/trunk/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.23.3, 0.24.0
>            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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235722#comment-13235722 ] 

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

Integrated in Hadoop-Common-0.23-Commit #714 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/714/])
    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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236604#comment-13236604 ] 

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

Integrated in Hadoop-Mapreduce-trunk #1028 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1028/])
    HADOOP-8197. Configuration logs WARNs on every use of a deprecated key (tucu) (Revision 1303884)

     Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1303884
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java
* /hadoop/common/trunk/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.23.3, 0.24.0
>            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

        

[jira] [Updated] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated HADOOP-8197:
---------------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Committed to trunk and branch-0.23
                
> 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

        

[jira] [Updated] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated HADOOP-8197:
---------------------------------------

    Attachment: HADOOP-8197.patch

verified visually that log WARNs are written once
                
> 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
>
>
> 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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235777#comment-13235777 ] 

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

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

     Result = ABORTED
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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425720#comment-13425720 ] 

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

Integrated in Hadoop-Hdfs-0.23-Build #330 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/330/])
    svn merge -c 1301551,1300642,1332821,1303884 FIXES:MAPREDUCE-4010,HADOOP-8167,HADOOP-8172,HADOOP-8197 Patches to fix OOZIE-761 (Revision 1367102)

     Result = SUCCESS
bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1367102
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/TestConfigurationDeprecation.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/conf/TestDeprecatedKeys.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/TestWritableJobConf.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.23.3, 0.24.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Critical
>             Fix For: 0.23.3, 2.0.0-alpha
>
>         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

        

[jira] [Updated] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated HADOOP-8197:
----------------------------------------

    Fix Version/s: 0.23.3

Pulled this into branch-0.23
                
> 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.23.3, 0.24.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>            Priority: Critical
>             Fix For: 0.23.3, 2.0.0-alpha
>
>         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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235649#comment-13235649 ] 

Hadoop QA commented on HADOOP-8197:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12519449/HADOOP-8197.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/744//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/744//console

This message is automatically generated.
                
> 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
>
>
> 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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236569#comment-13236569 ] 

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

Integrated in Hadoop-Hdfs-0.23-Build #206 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/206/])
    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.23.3, 0.24.0
>            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

        

[jira] [Commented] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236576#comment-13236576 ] 

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

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

     Result = FAILURE
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.23.3, 0.24.0
>            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

        

[jira] [Updated] (HADOOP-8197) Configuration logs WARNs on every use of a deprecated key

Posted by "Alejandro Abdelnur (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur updated HADOOP-8197:
---------------------------------------

    Attachment: HADOOP-8197.patch

same patch renaming method per Harsh's suggestion
                
> 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