Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
-
Windows XP
Description
All 4 test cases in TestStreaming.java fails on Windows. Since now Windows is an officially supported platform by Pig, which means builds and unit tests should succeed on it, I gave this bug a priority of "Blocker".
Here is a sample output of TestStreaming on Windows:
Testcase: testSimpleMapSideStreaming took 27.691 sec Caused an ERROR expected:<(A, 5)> but was:<null> Java.lang.AssertionError: expected:<(A, 5)> but was:<null> at org.junit.Assert.fail(Assert.java:69) at org.junit.Assert.failNotEquals(Assert.java:314) at org.junit.Assert.assertEquals(Assert.java:94) at org.junit.Assert.assertEquals(Assert.java:104) at org.apache.pig.test.Util.checkQueryOutputs(Util.java:111) at org.apache.pig.test.TestStreaming.testSimpleMapSideStreaming(TestStreaming.java:75) Testcase: testSimpleMapSideStreamingWithOutputSchema took 23.63 sec Caused an ERROR expected:<(C, 8)> but was:<null> java.lang.AssertionError: expected:<(C, 8)> but was:<null> at org.junit.Assert.fail(Assert.java:69) at org.junit.Assert.failNotEquals(Assert.java:314) at org.junit.Assert.assertEquals(Assert.java:94) at org.junit.Assert.assertEquals(Assert.java:104) at org.apache.pig.test.Util.checkQueryOutputs(Util.java:111) at org.apache.pig.test.TestStreaming.testSimpleMapSideStreamingWithOutputSchema(TestStreaming.java:102) Testcase: testSimpleReduceSideStreamingAfterFlatten took 13.494 sec Caused an ERROR expected:<(A, 5)> but was:<null> java.lang.AssertionError: expected:<(A, 5)> but was:<null> at org.junit.Assert.fail(Assert.java:69) at org.junit.Assert.failNotEquals(Assert.java:314) at org.junit.Assert.assertEquals(Assert.java:94) at org.junit.Assert.assertEquals(Assert.java:104) at org.apache.pig.test.Util.checkQueryOutputs(Util.java:111) at org.apache.pig.test.TestStreaming.testSimpleReduceSideStreamingAfterFlatten(TestStreaming.java:131) Testcase: testSimpleOrderedReduceSideStreamingAfterFlatten took 19.866 sec Caused an ERROR expected:<(A, 1, 2, 3)> but was:<null> java.lang.AssertionError: expected:<(A, 1, 2, 3)> but was:<null> at org.junit.Assert.fail(Assert.java:69) at org.junit.Assert.failNotEquals(Assert.java:314) at org.junit.Assert.assertEquals(Assert.java:94) at org.junit.Assert.assertEquals(Assert.java:104) at org.apache.pig.test.Util.checkQueryOutputs(Util.java:111) at org.apache.pig.test.TestStreaming.testSimpleOrderedReduceSideStreamingAfterFlatten(TestStreaming.java:175)