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

Duplicate jars in CLASSPATH when running test

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.17.0
    • None
    • None
    • 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-1.patch
          0.5 kB
          Daniel Dai
        2. PIG-5156-2.patch
          0.9 kB
          Daniel Dai

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment