XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.4.0
    • None
    • Build
    • None

    Description

      This upgrade to fix JsonMappingException:

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            yumwang Yuming Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: