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

0.12.1 release can't be build for Hadoop2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.12.1
    • Fix Version/s: 0.13.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      While building Pig against hadoopversion=23, attempts to resolve hadoop-core dependency no matter what. The root cause of the bug is the following lines in ivy.xml

          <dependency org="com.sun.jersey" name="jersey-core" rev="${jersey-core.version}"
            conf="hadoop20->default"/>
          <dependency org="org.apache.hadoop" name="hadoop-core" rev="${hadoop-core.version}"
            conf="hadoop20->default"/>
          <dependency org="org.apache.hadoop" name="hadoop-test" rev="${hadoop-test.version}"
            conf="hadoop20->default"/>
      

      hadoop20 configuration is getting evaluated always. Unless a build machine has dirty local .m2 repository, the build will fail.

      The bug blocks BIGTOP-1110

        Attachments

        1. PIG-3905-1.patch
          0.6 kB
          Daniel Dai
        2. PIG-3905-2.patch
          0.6 kB
          Daniel Dai

          Issue Links

            Activity

              People

              • Assignee:
                daijy Daniel Dai
                Reporter:
                cos Konstantin Boudnik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: