hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5509) TestPathBasedCacheRequests#testReplicationFactor is flaky
Date Wed, 13 Nov 2013 02:00:19 GMT

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

Andrew Wang updated HDFS-5509:
------------------------------

    Attachment: org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests-output.txt

Log from test run attached. Grep for "3 of 4" to find the error.

> TestPathBasedCacheRequests#testReplicationFactor is flaky
> ---------------------------------------------------------
>
>                 Key: HDFS-5509
>                 URL: https://issues.apache.org/jira/browse/HDFS-5509
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: 3.0.0
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests-output.txt
>
>
> Test flakes out sometimes with the following:
> {code}
> Running org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests
> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 72.191 sec <<<
FAILURE! - in org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests
> testReplicationFactor(org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests)
 Time elapsed: 7.449 sec  <<< FAILURE!
> java.lang.AssertionError: Unexpected number of cached blocks expected:<4> but was:<3>
> 	at org.junit.Assert.fail(Assert.java:93)
> 	at org.junit.Assert.failNotEquals(Assert.java:647)
> 	at org.junit.Assert.assertEquals(Assert.java:128)
> 	at org.junit.Assert.assertEquals(Assert.java:472)
> 	at org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests.checkNumCachedReplicas(TestPathBasedCacheRequests.java:619)
> 	at org.apache.hadoop.hdfs.server.namenode.TestPathBasedCacheRequests.testReplicationFactor(TestPathBasedCacheRequests.java:843)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message