spark 2.1.1 : Parsed JSON values do not match with class constructor spark 2.1.1 : Parsed JSON values do not match with class constructor json json

spark 2.1.1 : Parsed JSON values do not match with class constructor


Seems Like json4s-jackson bug search in following link "Parsed JSON values do not match with class constructor"

https://recordnotfound.com/json4s-json4s-3177/issues

You need to modify your json


Upgrade to latest Spark vesrion 2.2.x solved the problem. Looks like bug in Spark 2.1.x fixed now in Spark 2.2.x