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

Revise PacketResponder's log.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.3.0, 3.1.4, 3.2.2
    • Component/s: datanode
    • Labels:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: