-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iceberg's spark-runtime version 0.14 jar contains scala classes rather than 0.13 may cause ClassCastException #5732
Comments
@KarlManong do you have more information on the Spark version and the version of Iceberg JARs that you are using? Would be good to be able to replicate. |
I have a collision problem when doing assembly on spark 3.2.1, scala 2.12.12 when moving from iceberg runtime 0.13.2 to 0.14.0 or 0.14.1 |
@KarlManong : What are the steps to reproduce the issue? @jotarada mentioned "in my case is doing sbt assembly, as it tries to build a fat jar with all the dependencies. Trying to add scala with existing scala in iceberg crashes" |
The key point is setting "spark.executor.userClassPathFirst" to true. @Fokko @ajantha-bhat I have uploaded files to https://gist.github.com/KarlManong/cb30a80624788f4f7804c232dc2f743c. Septs:
Thank You! |
It finally mapped down to #4009 this adds dependency on |
@KarlManong , @jotarada : Can you please build a runtime jar from this PR (#5754) and confirm whether the issue is resolved? |
@ajantha-bhat verified, Thank You! Will this patch backport to branch-0.14? |
Even if we backport, it has to come via a release. |
@KarlManong You could give it a try using the development snapshot: apache/iceberg-docs#162 |
I also added 0.14.2 as a discussion point for the upcoming sync: https://docs.google.com/document/d/1YuGhUdukLP5gGiqCbk0A5_Wifqe2CZWgOd3TbhY3UQg/edit# |
Apache Iceberg version
0.14.0 (latest release)
Query engine
Other
Please describe the bug 🐞
When using kyuubi, I got an exception:
After compared version 0.13.2 and 0.14.0, I found scala classed contained in 0.14.x which cause some ClassCastExceptions .
The text was updated successfully, but these errors were encountered: