You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/01/19 00:46:39 UTC

[jira] [Updated] (PHOENIX-2608) Incompatibility between Jackson1 version shipped with Phoenix, Yarn

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

Ted Yu updated PHOENIX-2608:
----------------------------
    Attachment: phoenix-2608-upgrade.txt

Tentative patch.

> 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
>         Attachments: phoenix-2608-upgrade.txt
>
>
> 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)