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

Yi Liu commented on HDFS-8203:
------------------------------

Jing, I just found we should also override {{seekToNewSource}}, ideally, for 
striped block, an internal block is only on one datanode, so 
DFSStripedInputStream#seekToNewSource should return false, I opened HDFS-8363 
which also removes a hardcode for {{groupSize}}.

> Erasure Coding: Seek and other Ops in DFSStripedInputStream.
> ------------------------------------------------------------
>
>                 Key: HDFS-8203
>                 URL: https://issues.apache.org/jira/browse/HDFS-8203
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>             Fix For: HDFS-7285
>
>         Attachments: HDFS-8203.001.patch, HDFS-8203.002.patch, 
> HDFS-8203.003.patch
>
>
> In HDFS-7782 and HDFS-8033, we handle pread and stateful read for 
> {{DFSStripedInputStream}}, we also need handle other operations, such as 
> {{seek}}, zerocopy read ...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to