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

The core jar in the tarball contains the kitchen sink

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0, 0.9.0
    • Fix Version/s: site, 0.9.0
    • Component/s: build
    • Labels:
      None

      Description

      The core jar in the tarball contains the kitchen sink, it's not the same core jar built by ant jar. This is problematic since other projects that want to depend on the pig core jar just want pig core, but pig-0.8.0-SNAPSHOT-core.jar in the tarball contains a bunch of other stuff (hadoop, com.google, commons, etc) that may conflict with the packages also on a user's classpath.

      pig1 (trunk)$ jar tvf build/pig-0.8.0-SNAPSHOT-core.jar |grep -v pig|wc -l
      12
      pig1 (trunk)$ tar xvzf build/pig-0.8.0-SNAPSHOT.tar.gz
      ...
      pig1 (trunk)$ jar tvf pig-0.8.0-SNAPSHOT/pig-0.8.0-SNAPSHOT-core.jar |grep -v pig|wc -l
      4819
      

      How about restricting the core jar to just Pig classes?

        Attachments

        1. pig-1632-2.patch
          0.5 kB
          Eli Collins
        2. pig-1632-1.patch
          0.4 kB
          Eli Collins

          Activity

            People

            • Assignee:
              eli Eli Collins
              Reporter:
              eli Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: