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

Duplicate jars in CLASSPATH when running test

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When running Pig unit test, there are too many entires added to the classpath, and in some environment, results a bash "Argument list too long" exception.
      In fact, lib/*.jar is added twice. One is explicitly in junit task, the other is injected the chain test.classpath->classpath->ivy.lib.dir. We need to remove lib/*.jar.

        Attachments

        1. PIG-5156-2.patch
          0.9 kB
          Daniel Dai
        2. PIG-5156-1.patch
          0.5 kB
          Daniel Dai

          Issue Links

            Activity

              People

              • Assignee:
                daijy Daniel Dai
                Reporter:
                daijy Daniel Dai
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: