[ https://issues.apache.org/jira/browse/HADOOP-9490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643997#comment-13643997 ]
Hudson commented on HADOOP-9490: -------------------------------- Integrated in Hadoop-Hdfs-trunk #1386 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1386/]) HADOOP-9490. LocalFileSystem#reportChecksumFailure not closing the checksum file handle before rename. Contributed by Ivan Mitic. (Revision 1476609) Result = FAILURE suresh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1476609 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/LocalFileSystem.java > LocalFileSystem#reportChecksumFailure not closing the checksum file handle > before rename > ---------------------------------------------------------------------------------------- > > Key: HADOOP-9490 > URL: https://issues.apache.org/jira/browse/HADOOP-9490 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 3.0.0 > Reporter: Ivan Mitic > Assignee: Ivan Mitic > Fix For: 3.0.0 > > Attachments: HADOOP-9490.patch > > > LocalFileSystem#reportChecksumFailure is not closing the open stream on the > checksum file before it moves it to the bad_files folder, what causes the > operation to fail on Windows. > TestLocalFileSystem fail on Windows because of this: > {code} > testReportChecksumFailure(org.apache.hadoop.fs.TestLocalFileSystem) Time > elapsed: 31 sec <<< FAILURE! > java.lang.AssertionError: > at org.junit.Assert.fail(Assert.java:91) > at org.junit.Assert.assertTrue(Assert.java:43) > at org.junit.Assert.assertTrue(Assert.java:54) > at > org.apache.hadoop.fs.TestLocalFileSystem.testReportChecksumFailure(TestLocalFileSystem.java:335) > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira