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

Add log info when connect to datanode socket address failed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • hdfs-client
    • 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.patch
          1 kB
          chencan
        2. HADOOP-11993.002.patch
          1 kB
          chencan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: