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

Kihwal Lee commented on HDFS-7471:
----------------------------------

We've seen this in HDFS-7433. [~daryn] and I thought HDFS-7434 might fix it, 
but apparently it didn't.

I think the test case is running slow for some reason. Lately 
TestDatanodeManager has been timing out in many precommit builds. I've looked 
at one case where it actually didn't timeout, but failed. It was still taking 
14 minutes to run.

https://builds.apache.org/job/PreCommit-HDFS-Build/9898//testReport/org.apache.hadoop.hdfs.server.blockmanagement/TestDatanodeManager/testNumVersionsReportedCorrect/

So, I can totally see it occasionally timing out.  When ran locally it only 
takes about 9 seconds to run. I am not sure on what condition it runs slow.

[~raviprak], do you see anything obvious?

> TestDatanodeManager#testNumVersionsReportedCorrect occasionally fails
> ---------------------------------------------------------------------
>
>                 Key: HDFS-7471
>                 URL: https://issues.apache.org/jira/browse/HDFS-7471
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Ted Yu
>            Assignee: Binglin Chang
>         Attachments: HDFS-7471.001.patch
>
>
> From https://builds.apache.org/job/Hadoop-Hdfs-trunk/1957/ :
> {code}
> FAILED:  
> org.apache.hadoop.hdfs.server.blockmanagement.TestDatanodeManager.testNumVersionsReportedCorrect
> Error Message:
> The map of version counts returned by DatanodeManager was not what it was 
> expected to be on iteration 237 expected:<0> but was:<1>
> Stack Trace:
> java.lang.AssertionError: The map of version counts returned by 
> DatanodeManager was not what it was expected to be on iteration 237 
> expected:<0> but was:<1>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:743)
>         at org.junit.Assert.assertEquals(Assert.java:118)
>         at org.junit.Assert.assertEquals(Assert.java:555)
>         at 
> org.apache.hadoop.hdfs.server.blockmanagement.TestDatanodeManager.testNumVersionsReportedCorrect(TestDatanodeManager.java:150)
> {code}



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

Reply via email to