You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2012/11/09 03:36:12 UTC

[jira] [Updated] (PIG-3039) Not possible to use custom version of jackson jars

     [ https://issues.apache.org/jira/browse/PIG-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rohini Palaniswamy updated PIG-3039:
------------------------------------

    Attachment: PIG-3039-trunk.patch

Attached patch fixes the scenario. Patch does not include jackson jars that need to be added to test/resources directory.

{noformat}
ls test/resources/
jackson-core-asl-1.9.9.jar	jackson-mapper-asl-1.9.9.jar	org
{noformat} 

[~alangates],
   The test case I added needs a specific version of jackson jars in the test/resources folder. Just wanted to check with you if there is any restriction to checking in jars like that.
                
> Not possible to use custom version of jackson jars
> --------------------------------------------------
>
>                 Key: PIG-3039
>                 URL: https://issues.apache.org/jira/browse/PIG-3039
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Rohini Palaniswamy
>         Attachments: PIG-3039-trunk.patch
>
>
> User is trying
> register jackson_core_asl-1.9.4_1.jar;
> register jackson_mapper_asl-1.9.4_1.jar;
> register jackson_xc-1.9.4_1.jar;
> But pig.jar/pig-withouthadoop.jar has jackson jars and JarManager packages the jackson from pig.jar into job.jar(PIG-2457). We could not find any possible workaround with mapreduce framework to put the user jar first in the classpath as job.jar always takes precedence.
>  The pig script works fine with 0.9 and is a regression in 0.10.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira