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

Improve StripedBlockReader#createBlockReader error logging

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha2
    • Fix Version/s: 3.0.0-alpha2
    • Component/s: erasure-coding
    • Labels:
      None

      Description

      In StripedBlockReader#createBlockReader if any IOException is thrown, the error is logged at debug level and then returns a null. This means in a typical configuration an NPE may be thrown without logging a cause if the StripedBlockReader object is accessed.

        Attachments

        1. HDFS-10908.01.patch
          1 kB
          Manoj Govindassamy

          Activity

            People

            • Assignee:
              manojg Manoj Govindassamy
              Reporter:
              jojochuang Wei-Chiu Chuang
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: