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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15105998#comment-15105998 ] 

Hadoop QA commented on PHOENIX-2608:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12782964/PHOENIX-2608.v1.patch
  against master branch at commit 9a44b492673497e65e41ff45f3bcf7fb23982e35.
  ATTACHMENT ID: 12782964

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+0 tests included{color}.  The patch appears to be a documentation, build,
                        or dev patch that doesn't require tests.

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-PHOENIX-Build/226//console

This message is automatically generated.

> 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 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)