hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senthil Subramanian (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-1512) TestTextInputFormat fails on Windows
Date Fri, 22 Jun 2007 03:24:27 GMT

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

Senthil Subramanian updated HADOOP-1512:
----------------------------------------

    Attachment: HADOOP_1512_1.patch

Trying to delete a file (localFS.delete(path)) which is open fails on windows but not on Linux.
Now calling close before delete.

> TestTextInputFormat fails on Windows
> ------------------------------------
>
>                 Key: HADOOP-1512
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1512
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>         Environment: Windows
>            Reporter: Konstantin Shvachko
>             Fix For: 0.14.0
>
>         Attachments: HADOOP_1512_1.patch
>
>
> Here is the output produced by the test:
> Testsuite: org.apache.hadoop.mapred.TestTextInputFormat
> Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 8.828 sec
> ------------- Standard Output ---------------
> 2007-06-20 18:49:53,064 INFO  mapred.TestTextInputFormat (TestTextInputFormat.java:testFormat(58))
- seed = -1045123620
> 2007-06-20 18:50:01,830 WARN  util.NativeCodeLoader (NativeCodeLoader.java:<clinit>(50))
- Unable to load native-hadoop library for your platform... using builtin-java classes where
applicable
> ------------- ---------------- ---------------
> Testcase: testFormat took 8.75 sec
> Testcase: testUTF8 took 0 sec
> Testcase: testNewLines took 0 sec
> Testcase: testGzip took 0.031 sec
> Testcase: testGzipEmpty took 0.047 sec
> 	FAILED
> Compressed files of length 0 are not returned from FileInputFormat.getSplits(). expected:<1>
but was:<3>
> junit.framework.AssertionFailedError: Compressed files of length 0 are not returned from
FileInputFormat.getSplits(). expected:<1> but was:<3>
> 	at org.apache.hadoop.mapred.TestTextInputFormat.testGzipEmpty(TestTextInputFormat.java:248)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message