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

Kihwal Lee commented on HDFS-5881:
----------------------------------

The second approach is simpler, but skip() won't fail when skipping beyond the 
block boundary. I will take the first approach.

> Fix skip() of the short-circuit local reader in 0.23.
> -----------------------------------------------------
>
>                 Key: HDFS-5881
>                 URL: https://issues.apache.org/jira/browse/HDFS-5881
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.23.10
>            Reporter: Kihwal Lee
>            Assignee: Kihwal Lee
>            Priority: Critical
>
> It looks like a bug in skip() was introduced by HDFS-2356 and got fixed as a 
> part of HDFS-2834, which is an API change JIRA.  This bug causes to skip more 
> (as many as the new offsetFromChunkBoundary) data in certain cases.
> It is only for branch-0.23.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to