Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1418

DFSClient Uses Deprecated "mapred.task.id" Configuration Key Causing Unecessary Warning Messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 0.22.0
    • None
    • hdfs-client
    • None

    Description

      Every invocation of the "hadoop fs" command leads to an unnecessary warning like the following:

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

      This is easily fixed by updating "src/java/org/apache/hadoop/hdfs/DFSClient.java".

      Attachments

        1. HDFS-1418.patch
          0.7 kB
          Ranjit Mathew

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ranjit Ranjit Mathew
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: