Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1084

When use IBM jdk , UT TestCallbackServlet and TestHadoopELFunctions fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0, trunk
    • Fix Version/s: 3.3.2
    • Component/s: core
    • Labels:
    • Environment:

      IBM jdk 1.6
      Linux OS

      Description

      Test set: org.apache.oozie.servlet.TestCallbackServlet
      -------------------------------------------------------------------------------
      Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 24.419 sec <<< FAILURE!
      testCallbackGet(org.apache.oozie.servlet.TestCallbackServlet) Time elapsed: 22.273 sec <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<200> but was:<400>
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.failNotEquals(Assert.java:282)
      at junit.framework.Assert.assertEquals(Assert.java:64)
      at junit.framework.Assert.assertEquals(Assert.java:201)
      at junit.framework.Assert.assertEquals(Assert.java:207)
      at org.apache.oozie.servlet.TestCallbackServlet$1.call(TestCallbackServlet.java:58)
      at org.apache.oozie.servlet.TestCallbackServlet$1.call(TestCallbackServlet.java:40)
      at org.apache.oozie.servlet.DagServletTestCase.runTest(DagServletTestCase.java:93)
      at org.apache.oozie.servlet.DagServletTestCase.runTest(DagServletTestCase.java:66)
      at org.apache.oozie.servlet.TestCallbackServlet.testCallbackGet(TestCallbackServlet.java:40)

      testCallbackPost(org.apache.oozie.servlet.TestCallbackServlet) Time elapsed: 1.628 sec <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<200> but was:<400>
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.failNotEquals(Assert.java:282)
      at junit.framework.Assert.assertEquals(Assert.java:64)
      at junit.framework.Assert.assertEquals(Assert.java:201)
      at junit.framework.Assert.assertEquals(Assert.java:207)
      at org.apache.oozie.servlet.TestCallbackServlet$2.call(TestCallbackServlet.java:100)
      at org.apache.oozie.servlet.TestCallbackServlet$2.call(TestCallbackServlet.java:67)
      at org.apache.oozie.servlet.DagServletTestCase.runTest(DagServletTestCase.java:93)
      at org.apache.oozie.servlet.DagServletTestCase.runTest(DagServletTestCase.java:66)
      at org.apache.oozie.servlet.TestCallbackServlet.testCallbackPost(TestCallbackServlet.java:67)
      -----------------------------------------------------------------------------------------------------
      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.221 sec <<< FAILURE!
      testELFunctionsReturningPigStats(org.apache.oozie.action.hadoop.TestHadoopELFunctions) Time elapsed: 0.707 sec <<< FAILURE!
      junit.framework.ComparisonFailure: expected:<...MAP_INPUT_RECORDS":"33","MIN_REDUCE_TIME":"0","MULTI_STORE_COUNTERS":{},"ERROR_MESSAGE":null...> but was:<...ERROR_MESSAGE":null,"MIN_REDUCE_TIME":"0","MAP_INPUT_RECORDS":"33","MULTI_STORE_COUNTERS":{}...>
      at junit.framework.Assert.assertEquals(Assert.java:81)
      at junit.framework.Assert.assertEquals(Assert.java:87)
      at org.apache.oozie.action.hadoop.TestHadoopELFunctions.testELFunctionsReturningPigStats(TestHadoopELFunctions.java:119)

        Attachments

        1. oozie-1084.patch
          5 kB
          zhu jin wei

          Activity

            People

            • Assignee:
              zhujinwei zhu jin wei
              Reporter:
              zhujinwei zhu jin wei
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 12h
                12h
                Remaining:
                Remaining Estimate - 12h
                12h
                Logged:
                Time Spent - Not Specified
                Not Specified