Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4534

Pig 0.14.0 with Hive 1.1.0, gives unresolved dependency error for hive-shims-common-secure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.14.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      1. Pig 0.14.0 is compiled with Hive version 1.1.0 in ivy/libraries.properties, hive-shims-common-secure dependency doesn't get resolved (see HIVE-8979)

      [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
      [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve] :: org.apache.hive.shims#hive-shims-common-secure;1.1.0: not found
      [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve]

      2. There is also a UT failure because of HIVE-8979: TestLoaderStorerShipCacheFilesMR
      expected:<6> but was:<7>
      junit.framework.AssertionFailedError: expected:<6> but was:<7>
      at org.apache.pig.test.TestLoaderStorerShipCacheFilesMR.assertPlanContains(TestLoaderStorerShipCacheFilesMR.java:52)
      at org.apache.pig.test.TestLoaderStorerShipCacheFilesMR.checkPlan(TestLoaderStorerShipCacheFilesMR.java:36)
      at org.apache.pig.test.TestLoaderStorerShipCacheFiles.testShipOrcLoader(TestLoaderStorerShipCacheFiles.java:56)

      Testcase: testShipOrcStorer took 0.35 sec
      FAILED
      expected:<6> but was:<7>
      junit.framework.AssertionFailedError: expected:<6> but was:<7>
      at org.apache.pig.test.TestLoaderStorerShipCacheFilesMR.assertPlanContains(TestLoaderStorerShipCacheFilesMR.java:52)
      at org.apache.pig.test.TestLoaderStorerShipCacheFilesMR.checkPlan(TestLoaderStorerShipCacheFilesMR.java:36)
      at org.apache.pig.test.TestLoaderStorerShipCacheFiles.testShipOrcStorer(TestLoaderStorerShipCacheFiles.java:73)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Swati Swati
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: