[ https://issues.apache.org/jira/browse/PHOENIX-2608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106051#comment-15106051 ]
James Taylor commented on PHOENIX-2608: --------------------------------------- [~jmahonin] - will this be ok with our Spark integration? [~poornachandra] - any issues with Tephra and the Jackson version? > Incompatibility between Jackson1 version shipped with Phoenix, Yarn > ------------------------------------------------------------------- > > Key: PHOENIX-2608 > URL: https://issues.apache.org/jira/browse/PHOENIX-2608 > Project: Phoenix > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: PHOENIX-2608.v1.patch, PHOENIX-2608.v2.patch > > > Phoenix fat client uses 1.8.8 (not shaded) > Yarn uses 1.9.13 (not shaded, part of the timeline jar) > Hive uses 1.9.2 (possibly shaded) > This can cause jobs to fail when the fat phoenix client is included in the > classpath. Jobs may fail with the following Exception > {code} > 016-01-14 15:41:38,893 [FATAL] [HistoryEventHandlingThread] > |yarn.YarnUncaughtExceptionHandler|: Thread > Thread[HistoryEventHandlingThread,5,main] threw an Error. Shutting down > now... > 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.webapp.YarnJacksonJaxbJsonProvider.locateMapper(YarnJacksonJaxbJsonProvider.java:52) > at > org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:501) > at > com.sun.jersey.api.client.RequestWriter.writeRequestEntity(RequestWriter.java:300) > at > com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:204) > at > com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHand > {code} > Phoenix should either upgrade the jackson version, or (ideally) shade the > jackson jar. -- This message was sent by Atlassian JIRA (v6.3.4#6332)