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

seek() on closed DFS input stream throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • None
    • Reviewed

    Description

      After closing an input stream on DFS, seeking slightly ahead of the last read will throw an NPE:

      java.lang.NullPointerException
      at org.apache.hadoop.hdfs.DFSInputStream.seek(DFSInputStream.java:749)
      at org.apache.hadoop.fs.FSDataInputStream.seek(FSDataInputStream.java:42)

      Attachments

        1. HDFS-1615.patch
          2 kB
          Scott Carey

        Activity

          People

            scott_carey Scott Carey
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: