Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1615

seek() on closed DFS input stream throws NPE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      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)

        Activity

          People

          • Assignee:
            Scott Carey
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development