You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2014/03/31 00:35:15 UTC
[jira] [Updated] (PIG-3798) registered jar in pig script are
appended to the classpath multiple times
[ https://issues.apache.org/jira/browse/PIG-3798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheolsoo Park updated PIG-3798:
-------------------------------
Attachment: PIG-3798-1.patch
The attached fixes the issue by adding jars only if they're not already present in the lists - extraJars, scriptJars, skipJars, and predeployedJars.
> 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
> Labels: newbie
> Fix For: 0.13.0
>
> Attachments: PIG-3798-1.patch
>
>
> 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)