You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/10/12 09:10:20 UTC

[jira] [Resolved] (SPARK-17887) Jackson Library is correctly running on local, throw Exception on spark cluster

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

Sean Owen resolved SPARK-17887.
-------------------------------
    Resolution: Not A Problem

You need to shade your Jackson version if you're using a different version from Spark and Hadoop. They leak into the classpath from one or the other, so, it's really best to avoid it by shading.

> Jackson Library is correctly running on local, throw Exception on spark cluster
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-17887
>                 URL: https://issues.apache.org/jira/browse/SPARK-17887
>             Project: Spark
>          Issue Type: Question
>         Environment: ubuntu 14.04.1 lts
> jdk1.7.0_79
> scala 2.10.6
> jackson-module-scala_2.10-2.8.3
>            Reporter: juntan lin
>
> I'm running my sparkstreaming job on spark 1.6 and using Jackson-module-scala_2.10-2.8.3.It is correctly run on local model,but submit to cluster which is throw Exception:
> Exception in thread "main" java.lang.AbstractMethodError: SvwSensefaceCaptureStreaming$$anon$1.com$fasterxml$jackson$module$scala$experimental$ScalaObjectMapper$_setter_$com$fasterxml$jackson$module$scala$experimental$ScalaObjectMapper$$typeCache_$eq(Lorg/spark-project/guava/cache/LoadingCache;)V



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org