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

Improve StripedBlockReader#createBlockReader error logging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 3.0.0-alpha2
    • erasure-coding
    • 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

            manojg Manoj Govindassamy
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: