hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prakash (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7471) TestDatanodeManager#testNumVersionsReportedCorrect occasionally fails
Date Sat, 28 Mar 2015 18:01:53 GMT

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

Ravi Prakash commented on HDFS-7471:
------------------------------------

I ran the test ~500 times and it didn't fail on my computer even once. I wonder if the test
environment causes an issue.

> 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, PreCommit-HDFS-Build #9898 test - testNumVersionsReportedCorrect
[Jenkins].html
>
>
> 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)

Mime
View raw message