You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dotan Patrich (JIRA)" <ji...@apache.org> on 2014/03/06 09:34:45 UTC
[jira] [Created] (PIG-3798) registered jar in pig script are
appended to the classpath multiple times
Dotan Patrich created PIG-3798:
----------------------------------
Summary: registered jar in pig script are appended to the classpath multiple times
Key: PIG-3798
URL: https://issues.apache.org/jira/browse/PIG-3798
Project: Pig
Issue Type: Bug
Environment: Apache Pig version 0.11.0-cdh4.4.0
Reporter: Dotan Patrich
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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)