You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Konstantin Shvachko (JIRA)" <ji...@apache.org> on 2006/02/18 02:00:40 UTC
[jira] Updated: (HADOOP-42) PositionCache decrements its position
for reads at the end of file
[ http://issues.apache.org/jira/browse/HADOOP-42?page=all ]
Konstantin Shvachko updated HADOOP-42:
--------------------------------------
Attachment: Position.patch
> PositionCache decrements its position for reads at the end of file
> ------------------------------------------------------------------
>
> Key: HADOOP-42
> URL: http://issues.apache.org/jira/browse/HADOOP-42
> Project: Hadoop
> Type: Bug
> Components: fs
> Reporter: Konstantin Shvachko
> Attachments: Position.patch
>
> See
> int org.apache.hadoop.fs.FSDataInputStream.PositionCache.read(byte[] b, int off, int len)
> if in.read() returns -1 (e.g. at the end of file) the position in the cache will be decremented, while it should be retained.
> The attached patch would fix it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira