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

Add log info when connect to datanode socket address failed

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: hdfs-client
    • Labels:
      None

      Description

      In function BlockSeekTo, when connect faild to datanode socket address,log as follow:

      DFSClient.LOG.warn("Failed to connect to " + targetAddr + " for block"
      + ", add to deadNodes and continue. " + ex, ex);

      add block info may be more explicit.

        Attachments

        1. HADOOP-11993.002.patch
          1 kB
          chencan
        2. HADOOP-11993.patch
          1 kB
          chencan

          Activity

            People

            • Assignee:
              candychencan chencan
              Reporter:
              candychencan chencan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: