Pig
  1. Pig
  2. PIG-3639

TestRegisteredJarVisibility is broken in trunk

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None

      Description

          [junit] Running org.apache.pig.test.TestRegisteredJarVisibility
          [junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 44.127 sec
          [junit] Test org.apache.pig.test.TestRegisteredJarVisibility FAILED
      

      This is a side-effect of PIG-3584 that bumped avro version to 1.7.5.

      The problem is that avro 1.7.5 pulls down jackson 1.9.9 jars as dependencies, and that makes TestRegisteredJarVisibility.testRegisterJarOverridePigJarPackages fail because the test case assumes that jackson 1.9.9 jars are not present in classpath.

      1. PIG-3639-1.patch
        1 kB
        Cheolsoo Park

        Activity

        Hide
        Cheolsoo Park added a comment -

        Committed to trunk. Thank you Jarcec and Rohini for the review!

        Show
        Cheolsoo Park added a comment - Committed to trunk. Thank you Jarcec and Rohini for the review!
        Hide
        Rohini Palaniswamy added a comment -

        +1

        Show
        Rohini Palaniswamy added a comment - +1
        Hide
        Jarek Jarcec Cecho added a comment -

        Thank you for filling the JIRA and providing patch Cheolsoo Park! I was experiencing the same failure in our environment when upgraded Avro to version 1.7.5. Sadly I did not had time to investigate it myself.

        +1 (non-binding)

        Show
        Jarek Jarcec Cecho added a comment - Thank you for filling the JIRA and providing patch Cheolsoo Park ! I was experiencing the same failure in our environment when upgraded Avro to version 1.7.5. Sadly I did not had time to investigate it myself. +1 (non-binding)
        Hide
        Cheolsoo Park added a comment -

        The patch excludes the jackson jars from avro dependencies.

        I confirmed TestRegisteredJarVisibility and TestAvroStorage both pass.

        Show
        Cheolsoo Park added a comment - The patch excludes the jackson jars from avro dependencies. I confirmed TestRegisteredJarVisibility and TestAvroStorage both pass.

          People

          • Assignee:
            Cheolsoo Park
            Reporter:
            Cheolsoo Park
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development