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

Remove logging exception stack trace when one of the datanode targets to read from is not reachable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.20.203.1
    • 0.23.0
    • hdfs-client
    • None

    Description

      When client fails to connect to one of the datanodes from the list of block locations returned, exception stack trace is printed in the client log. This is an expected failure scenario that is handled at the client, by going to the next location. Printing entire stack trace is unnecessary and just printing the exception message should be sufficient.

      Attachments

        1. HDFS-1906.rel205.patch
          2 kB
          Suresh Srinivas
        2. HDFS-1906.2.patch
          1 kB
          Suresh Srinivas
        3. HDFS-1906.patch
          1 kB
          Suresh Srinivas

        Activity

          People

            sureshms Suresh Srinivas
            sureshms Suresh Srinivas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: