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

Zhe Zhang commented on HDFS-6450:
---------------------------------

I just posted a 
[patch|https://issues.apache.org/jira/secure/attachment/12702940/HDFS-7782-001.patch]
 under HDFS-7782. It makes some changes to {{DFSInputStream}} that should 
partially support this JIRA too:
# A small {{HedgedReadResult}} class to return both a result buffer and a 
generated {{BlockReader}} which should be used to adjust the maintained 
{{blockBreader}}
# In {{hedgedFetchBlockByteRange}}, return the reader from the fastest Future
# That JIRA has the hedged read logic in {{readBuffer()}} instead of 
{{readWithStrategy}} level. I'm not so sure which option is better though.

[~xieliang007] I wonder if you still plan to continue this work? In either case 
I'm happy to help complete this JIRA.

> Support non-positional hedged reads in HDFS
> -------------------------------------------
>
>                 Key: HDFS-6450
>                 URL: https://issues.apache.org/jira/browse/HDFS-6450
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.4.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Liang Xie
>         Attachments: HDFS-6450-like-pread.txt
>
>
> HDFS-5776 added support for hedged positional reads.  We should also support 
> hedged non-position reads (aka regular reads).



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

Reply via email to