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

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

bq. I propose (perhaps in another jira), that we separate FileHandle (stream 
state such as position, previously failed DataNodes, etc.), FileInfo (file 
length, LocatedBlocks, etc.), and ReadOperation (ephemeral state for an async 
read such as Continuations and refs to FileInfo) as a good model.

This is a good idea. The C layer can be  the first consumer of these APIs. 
Maybe we can look at the first iterations of the C APIs and come back to this 
jira? I think the experience on building the C layer will be valuable in this 
jira.

> 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, 
> HDFS-9103.HDFS-8707.3.patch, HDFS-9103.HDFS-8707.4.patch, 
> HDFS-9103.HDFS-8707.5.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