Yuming Wang created SPARK-25385:
-----------------------------------

             Summary: Upgrade fasterxml.jackson.databind.version to 2.7.8
                 Key: SPARK-25385
                 URL: https://issues.apache.org/jira/browse/SPARK-25385
             Project: Spark
          Issue Type: Sub-task
          Components: Build
    Affects Versions: 2.4.0
            Reporter: Yuming Wang


This upgrade to fix {{JsonMappingException}}:

{noformat}
export SPARK_PREPEND_CLASSES=true
build/sbt clean package -Phadoop-3.1

spark-shell

scala> spark.range(10).write.parquet("/tmp/spark/parquet")

com.fasterxml.jackson.databind.JsonMappingException: Incompatible Jackson 
version: 2.7.8

  at 
com.fasterxml.jackson.module.scala.JacksonModule$class.setupModule(JacksonModule.scala:64)

  at 
com.fasterxml.jackson.module.scala.DefaultScalaModule.setupModule(DefaultScalaModule.scala:19)

  at 
com.fasterxml.jackson.databind.ObjectMapper.registerModule(ObjectMapper.java:730)

  at org.apache.spark.rdd.RDDOperationScope$.<init>(RDDOperationScope.scala:82)

  at 
org.apache.spark.rdd.RDDOperationScope$.<clinit>(RDDOperationScope.scala){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to