[
https://issues.apache.org/jira/browse/HDFS-5904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901428#comment-13901428
]
Hudson commented on HDFS-5904:
------------------------------
FAILURE: Integrated in Hadoop-Hdfs-trunk #1673 (See
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1673/])
HDFS-5904. TestFileStatus fails intermittently. Contributed by Mit Desai.
(kihwal:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1567946)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
*
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileStatus.java
> TestFileStatus fails intermittently on trunk and branch2
> --------------------------------------------------------
>
> Key: HDFS-5904
> URL: https://issues.apache.org/jira/browse/HDFS-5904
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0, 2.2.0
> Reporter: Mit Desai
> Assignee: Mit Desai
> Labels: java7
> Fix For: 3.0.0, 2.4.0
>
> Attachments: HDFS-5904.patch
>
>
> testGetFileStatusOnNonExistantFileDir() fails intermittently on trunk and
> branch2.
> On doing further research on this, I found that it is a JDK7 issue.
> testGetFileStatusOnNonExistantFileDir() only fails when it runs after
> testGetFileStatusOnDir()
> *Stacktrace:*
> {noformat}
> Running org.apache.hadoop.hdfs.TestFileStatus
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.858 sec <<<
> FAILURE! - in org.apache.hadoop.hdfs.TestFileStatus
> test(org.apache.hadoop.hdfs.TestFileStatus) Time elapsed: 0.414 sec <<<
> FAILURE!
> java.lang.AssertionError: listStatus of non-existent path should fail
> at org.junit.Assert.fail(Assert.java:93)
> at
> org.apache.hadoop.hdfs.TestFileStatus.testGetFileStatusOnNonExistantFileDir(TestFileStatus.java:178)
> Results :
> Failed tests:
> TestFileStatus.test:102->testGetFileStatusOnNonExistantFileDir:178
> listStatus of non-existent path should fail
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)