[
https://issues.apache.org/jira/browse/HADOOP-8311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13261810#comment-13261810
]
Daryn Sharp commented on HADOOP-8311:
-------------------------------------
My mistake, I confused {{seek}} with {{skip}} which is supposed to return the
actual number of bytes skipped.
> FSInputStream's positioned read fails to check seek
> ---------------------------------------------------
>
> Key: HADOOP-8311
> URL: https://issues.apache.org/jira/browse/HADOOP-8311
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.23.3, 0.24.0, 2.0.0
> Reporter: Daryn Sharp
>
> {{FSInputStream#read(long, byte[], int, int)}} will seek into the input
> stream, but does not check that the seek actually succeeded.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira