Open clintoncheang opened 2 years ago
Same here. Have you found any solution so far?
Same here when I try to upgrade to Spark 3.x. Works fine on Spark 2.4.4
Possibly related to this issue:
https://github.com/typelevel/cats/issues/3628
my issue was that circe had a different version of cats than spark 3
shading should help:
assembly / assemblyShadeRules := Seq( ShadeRule.rename("shapeless.**" -> "new_shapeless.@1").inAll, ShadeRule.rename("cats.kernel.**" -> s"new_cats.kernel.@1").inAll ),
Hi all, I tried to shade shapeless when I did a spark-submit using sbt-assembly. In my Spark Assembly scala file, I added
assembly / assemblyShadeRules := Seq(ShadeRule.rename("shapeless.**" -> "new_shapeless.@1").inAll)
. But when I submit it to Spark 3.1.2, I got this error above. I am wondering am I adding the Shading correctly?