[ 
https://issues.apache.org/jira/browse/HDFS-6494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Liang Xie updated HDFS-6494:
----------------------------

    Attachment: HDFS-6494.txt

Sorry for the late reply, i tried to repro with the attached HDFS-6494.txt test 
case which is a trunk patch porting from LiuLei's hedged-read-test-case.patch 
file. Looped 10 times and all passed. To me your original failure was caused by 
the CountDownLatch not be protected by a final statement, which was fixed in 
HDFS-6231(it's available since 2.4.1) by [~cnauroth]. I'd like to close the 
current jira due to duplicated.
[~liulei.cn], if you still can repro it after 2.4.1, please feel free to reopen 
it, thanks all the same!


> In some case, the  hedged read will lead to client  infinite wait.
> ------------------------------------------------------------------
>
>                 Key: HDFS-6494
>                 URL: https://issues.apache.org/jira/browse/HDFS-6494
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.4.0
>            Reporter: LiuLei
>            Assignee: Liang Xie
>         Attachments: HDFS-6494.txt, hedged-read-bug.patch, 
> hedged-read-test-case.patch
>
>
> When I use "hedged read", If there is only one live datanode, the reading 
> from  the datanode throw TimeoutException and ChecksumException., the Client 
> will infinite wait.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to