[ 
https://issues.apache.org/jira/browse/HDFS-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon updated HDFS-1615:
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.22.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

+1. Committed Scott's patch to trunk and branch-0.22. Thanks Scott and Harsh!

> seek() on closed DFS input stream throws NPE
> --------------------------------------------
>
>                 Key: HDFS-1615
>                 URL: https://issues.apache.org/jira/browse/HDFS-1615
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Todd Lipcon
>            Assignee: Scott Carey
>              Labels: newbie
>             Fix For: 0.22.0
>
>         Attachments: HDFS-1615.patch
>
>
> 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)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to