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

stack commented on HDFS-11303:
------------------------------

Patch LGTM. Your patch allows that the primary read might still complete before 
the new hedged reads whereas what was there previous would discard anything 
that came in after timeout. Good. The test is just to verify we time out? W/o 
your fix, the test hangs?

> Hedged read might hang infinitely if read data from all DN failed 
> ------------------------------------------------------------------
>
>                 Key: HDFS-11303
>                 URL: https://issues.apache.org/jira/browse/HDFS-11303
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Chen Zhang
>         Attachments: HDFS-11303-001.patch
>
>
> Hedged read will read from a DN first, if timeout, then read other DNs 
> simultaneously.
> If read all DN failed, this bug will cause the future-list not empty(the 
> first timeout request left in list), and hang in the loop infinitely



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to