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

Add block info to DFSInputStream' WARN message when it adds node to deadNodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • Reviewed

    Description

      Block info is missing in the below message

      2014-11-14 03:59:00,386 WARN org.apache.hadoop.hdfs.DFSClient: Failed to connect to /xx.xx.xx.xxx:50010 for block, add to deadNodes and continue. java.io.IOException: Got error for OP_READ_BLOCK
      

      The code

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

      Attachments

        1. HDFS-7401-2.patch
          1 kB
          Mohammad Arshad
        2. HDFS-7401.patch
          1 kB
          Keith Pak

        Activity

          People

            arshad.mohammad Mohammad Arshad
            mingma Ming Ma
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: