I've a strange problem with spark 2.1.1
and json4s.jackson
.
I upgraded my streaming project from spark 1.5.1
. Now when I execute code in IDE everything works fine.
But after assembly
and code standalone execution with spark-submit
I got the following error
Caused by: org.json4s.package$MappingException: Parsed JSON values do not match with class constructor
args=
arg types=
constructor=
My Environemnt:
- spark=2.1.1,
- scala=2.11,
- json4s-jackson=3.2.11
Has somebody has faced the same problem before? If yes, how did you solve it?
Many thanks.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With