hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. C. Srivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1615) seek() on closed DFS input stream throws NPE
Date Wed, 09 Feb 2011 13:41:57 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992478#comment-12992478
] 

M. C. Srivas commented on HDFS-1615:
------------------------------------

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

Isn't this a good thing? It exposes bugs at the layer above DFS. I'd prefer to keep this behaviour
rather than fix it.

> 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: Todd Lipcon
>
> 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