hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-1615) seek() on closed DFS input stream throws NPE
Date Wed, 11 May 2011 21:13:47 GMT

     [ 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

Mime
View raw message