Spark Parallelize? (Could not find creator property with name 'id')

前端 未结 4 1599
灰色年华
灰色年华 2020-12-30 01:21

What causes this Serialization error in Apache Spark 1.4.0 when calling:

sc.parallelize(strList, 4)

This exception is thrown:



        
4条回答
  •  半阙折子戏
    2020-12-30 02:22

    I suspect that this is caused by the classpath providing you with a different version of jackson than the one Spark is expecting (that is 2.4.4 if I'm not mistaking). You will need to adjust your classpath so that the correct jackson is referenced first for Spark.

提交回复
热议问题