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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment