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

Revise PacketResponder's log.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.3
    • 3.3.0, 3.1.4, 3.2.2
    • datanode
    • None

    Description

      For a datanode in a pipeline, when its PacketResponder thread encounters an exception, it prints logs like below:

      2019-10-24 09:22:58,212 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: IOException in BlockReceiver.run():

       

      But this log is incorrect and misleading, the right print shoud be:

      2019-10-24 09:22:58,212 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: IOException in PacketResponder.run():

      Attachments

        1. HDFS-14945.000.patch
          1 kB
          Xudong Cao

        Activity

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

          People

            xudongcao Xudong Cao
            xudongcao Xudong Cao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment