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

        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Todd Lipcon made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Fix Version/s 0.22.0 [ 12314241 ]
        Resolution Fixed [ 1 ]
        Harsh J made changes -
        Attachment HDFS-1615.r1.diff [ 12478862 ]
        Harsh J made changes -
        Attachment HDFS-1615.r1.diff [ 12478862 ]
        Scott Carey made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Scott Carey made changes -
        Attachment HDFS-1615.patch [ 12478861 ]
        Scott Carey made changes -
        Assignee Harsh J Chouraria [ qwertymaniac ] Scott Carey [ scott_carey ]
        Harsh J made changes -
        Assignee Todd Lipcon [ tlipcon ] Harsh J Chouraria [ qwertymaniac ]
        Todd Lipcon made changes -
        Field Original Value New Value
        Labels newbie
        Todd Lipcon created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development