hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1418) DFSClient Uses Deprecated "mapred.task.id" Configuration Key Causing Unecessary Warning Messages
Date Wed, 01 Dec 2010 03:38:10 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965560#action_12965560
] 

Konstantin Boudnik commented on HDFS-1418:
------------------------------------------

Yes, I have seen the code. It poses the problem nonetheless (and we already face it here):
when a configuration parameter got deprecated in the upstream project (MR) we are forced to
change downstream library. Pretty bad, I think.

> DFSClient Uses Deprecated "mapred.task.id" Configuration Key Causing Unecessary Warning
Messages
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-1418
>                 URL: https://issues.apache.org/jira/browse/HDFS-1418
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 0.22.0
>            Reporter: Ranjit Mathew
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1418.patch
>
>
> Every invocation of the "hadoop fs" command leads to an unnecessary warning like the
following:
> {noformat}
> $ $HADOOP_HOME/bin/hadoop fs -ls /
> 10/09/24 15:10:23 WARN conf.Configuration: mapred.task.id is deprecated. Instead, use
mapreduce.task.attempt.id
> {noformat}
> This is easily fixed by updating "src/java/org/apache/hadoop/hdfs/DFSClient.java".

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


Mime
View raw message