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

Haohui Mai commented on HDFS-9103:
----------------------------------

There are definitely use cases that need full flexible APIs (rigorous testings 
are one of those). However it's great to build an easy version of APIs on top 
of that.

Speaking of the patch itself {{AsyncPreadSome}} needs to be completely 
stateless. The name {{InputStream}} might be a little bit confusing now, but I 
don't think it is a good idea to put this functionality there, as least for now.



> Retry reads on DN failure
> -------------------------
>
>                 Key: HDFS-9103
>                 URL: https://issues.apache.org/jira/browse/HDFS-9103
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Bob Hansen
>            Assignee: Bob Hansen
>             Fix For: HDFS-8707
>
>         Attachments: HDFS-9103.1.patch, HDFS-9103.2.patch
>
>
> When AsyncPreadSome fails, add the failed DataNode to the excluded list and 
> try again.



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

Reply via email to