[
https://issues.apache.org/jira/browse/HDFS-9103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876361#comment-14876361
]
Haohui Mai commented on HDFS-9103:
----------------------------------
It's an explicit design choice to make the failures visible to the caller of
the {{AsyncPreadSome}}. The rationale is to allow different clients to have
tight controls on excluded nodes, based on network failures, the types of
exceptions and performance metrics.
I suggest making the recovery at the layer of C API, which is compatible with
libhdfs.
> 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
> Attachments: HDFS-9103.1.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)