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

registered jar in pig script are appended to the classpath multiple times

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • Apache Pig version 0.11.0-cdh4.4.0

    Description

      when running several pig scripts one after another using java class PigServer, the classpath in taskjvm.sh gets longer and longer, eventually execution breaks on having a too long classpath.

      The jar registered at the pig script are appended to the classpath on every execution. It seems that PigContext's skipJars member is the root cause for this as it is added jars that already exists in the list multiple times.

      Attachments

        1. PIG-3798-2.patch
          9 kB
          Cheolsoo Park
        2. PIG-3798-1.patch
          10 kB
          Cheolsoo Park

        Issue Links

          Activity

            People

              cheolsoo Cheolsoo Park
              dotanp Dotan Patrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: