hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11303) Hedged read might hang infinitely if read data from all DN failed
Date Fri, 11 Aug 2017 17:40:00 GMT

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

John Zhuge commented on HDFS-11303:
-----------------------------------

TestDirectoryScanner was known to be flaky:
{noformat}
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 164.607 sec <<< FAILURE!
- in org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner
testThrottling(org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner)  Time elapsed:
151.664 sec  <<< FAILURE!
java.lang.AssertionError: Throttle is too permissive
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner.testThrottling(TestDirectoryScanner.java:718)
{noformat}

So unless there is an objection, I will commit pretty soon.

> 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
>            Assignee: Chen Zhang
>         Attachments: HDFS-11303-001.patch, HDFS-11303-001.patch, HDFS-11303-002.patch,
HDFS-11303-002.patch, HDFS-11303.003.patch, HDFS-11303.004.patch, HDFS-11303.005.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.4.14#64029)

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


Mime
View raw message