Pig
  1. Pig
  2. PIG-156

All 4 unit test cases for Pig streaming fails on Windows

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      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)
      

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Xu Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development