[ 
https://issues.apache.org/jira/browse/SPARK-8332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602468#comment-14602468
 ] 

Tao Li commented on SPARK-8332:
-------------------------------

I found that BigDecimalDeserializer will extend StdDeserializer in 
jackson-databind project. Above version jackson-databind-2.3, StdDeserializer 
have method handledType(). But under version jackson-databind-2.2, 
StdDeserializer don't have method handledType().

In my environment, hadoop 2.3.0-cdh5.0.0, the jackson-databind is 
/usr/lib/hadoop-mapreduce/.//jackson-databind-2.2.3.jar. So it don't have the 
method handledType() and throws NoSuchMethodError.

> NoSuchMethodError: 
> com.fasterxml.jackson.module.scala.deser.BigDecimalDeserializer
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-8332
>                 URL: https://issues.apache.org/jira/browse/SPARK-8332
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.4.0
>         Environment: spark 1.4 & hadoop 2.3.0-cdh5.0.0
>            Reporter: Tao Li
>            Priority: Critical
>              Labels: 1.4.0, NoSuchMethodError, com.fasterxml.jackson
>
> I complied new spark 1.4.0 version. 
> But when I run a simple WordCount demo, it throws NoSuchMethodError 
> {code}
> java.lang.NoSuchMethodError: 
> com.fasterxml.jackson.module.scala.deser.BigDecimalDeserializer
> {code}
> I found out that the default "fasterxml.jackson.version" is 2.4.4. 
> Is there any wrong or conflict with the jackson version? 
> Or is there possibly some project maven dependency containing the wrong 
> version of jackson?



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

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

Reply via email to