[ https://issues.apache.org/jira/browse/HDFS-9103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bob Hansen updated HDFS-9103: ----------------------------- Status: Patch Available (was: Open) Changes of note: I changed the semantics of InputStream::PositionRead to be success-or-failure. It will now retry if there is a Status::exception in the pipeline [Q: will all I/O errors be reflected as Status::exceptions?] I exposed Status::Code so we can use the right internal semantics. I moved the excluded_datanodes to be a member of the InputStream. I think we would want failed nodes to be remembered across individual reads and not re-tried. Because it's mutable, I didn't want to be passing copies or mutable references on the stack. > 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)