[jira] Created: (HADOOP-1512) TestTextInputFormat fails on Windows

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (HADOOP-1512) TestTextInputFormat fails on Windows

Kenneth William Krugler (Jira)
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


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.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1512) TestTextInputFormat fails on Windows

Kenneth William Krugler (Jira)

     [ 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.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1512) TestTextInputFormat fails on Windows

Kenneth William Krugler (Jira)
In reply to this post by Kenneth William Krugler (Jira)

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

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

    Status: Patch Available  (was: Open)

> 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.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (HADOOP-1512) TestTextInputFormat fails on Windows

Kenneth William Krugler (Jira)
In reply to this post by Kenneth William Krugler (Jira)

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

Hadoop QA commented on HADOOP-1512:
-----------------------------------

+1

http://issues.apache.org/jira/secure/attachment/12360340/HADOOP_1512_1.patch applied and successfully tested against trunk revision r549624.

Test results:   http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/322/testReport/
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/322/console

> 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.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (HADOOP-1512) TestTextInputFormat fails on Windows

Kenneth William Krugler (Jira)
In reply to this post by Kenneth William Krugler (Jira)

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

Nigel Daley commented on HADOOP-1512:
-------------------------------------

I just committed this. Thanks, Senthil!

> 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.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (HADOOP-1512) TestTextInputFormat fails on Windows

Kenneth William Krugler (Jira)
In reply to this post by Kenneth William Krugler (Jira)

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

Nigel Daley updated HADOOP-1512:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (HADOOP-1512) TestTextInputFormat fails on Windows

Kenneth William Krugler (Jira)
In reply to this post by Kenneth William Krugler (Jira)

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

Hudson commented on HADOOP-1512:
--------------------------------

Integrated in Hadoop-Nightly #133 (See [http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/133/])

> 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.