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

Daniel Dai updated PIG-4468:
----------------------------
       Resolution: Fixed
         Assignee: Jeff Zhang
     Hadoop Flags: Reviewed
    Fix Version/s: 0.16.0
           Status: Resolved  (was: Patch Available)

Patch committed to trunk. Thanks Jeff, Rohini!

> Pig's jackson version conflicts with that of hadoop 2.6.0 or newer
> ------------------------------------------------------------------
>
>                 Key: PIG-4468
>                 URL: https://issues.apache.org/jira/browse/PIG-4468
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Jeff Zhang
>            Assignee: Jeff Zhang
>             Fix For: 0.16.0
>
>         Attachments: PIG-4468-2.patch, PIG_4468_1.patch
>
>
> Pig use jackson of 1.8.8 while hadoop 2.6.0 use 1.9.13. And hadoop 2.6.0 use 
> one of ObjectMapper's new method setSerializationInclusion which is not 
> existed in jackson 1.8.8. It would cause the following issue
> {code}
> Caused by: java.lang.NoSuchMethodError: 
> org.codehaus.jackson.map.ObjectMapper.setSerializationInclusion(Lorg/codehaus/jackson/map/annotate/JsonSerialize$Inclusion;)Lorg/codehaus/jackson/map/ObjectMapper;
>     at 
> org.apache.hadoop.yarn.webapp.YarnJacksonJaxbJsonProvider.configObjectMapper(YarnJacksonJaxbJsonProvider.java:59)
>     at 
> org.apache.hadoop.yarn.util.timeline.TimelineUtils.<clinit>(TimelineUtils.java:47)
>     at 
> org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.serviceInit(YarnClientImpl.java:166)
>     at 
> org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>     at org.apache.tez.client.TezYarnClient.init(TezYarnClient.java:45)
>     at org.apache.tez.client.TezClient.start(TezClient.java:299)
>     at 
> org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.createSession(TezSessionManager.java:95)
>     at 
> org.apache.pig.backend.hadoop.executionengine.tez.TezSessionManager.getClient(TezSessionManager.java:195)
>     at 
> org.apache.pig.backend.hadoop.executionengine.tez.TezJob.run(TezJob.java:158)
>     at 
> org.apache.pig.backend.hadoop.executionengine.tez.TezLauncher$1.run(TezLauncher.java:174)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to