Skip to content
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

No Spark Shim Provider found for 3.3.0 #784

Closed
j-buczak opened this issue Dec 29, 2022 · 2 comments
Closed

No Spark Shim Provider found for 3.3.0 #784

j-buczak opened this issue Dec 29, 2022 · 2 comments
Labels
bug Something isn't working CORE works for Gluten Core

Comments

@j-buczak
Copy link

Describe the bug
I have build Spark for Velox and want to use it with s3 bucket. I have added gluten-path/cpp/build/releases to PATH and move gluten-path/package/velox/spark33/target/gluten-spark3.3_2.12-1.0.0-SNAPSHOT-jar-with-dependencies.jar to Spark jars folder.

When running TPC-H data generation code I had such a bug:

Exception in thread "main" java.lang.IllegalStateException: No Spark Shim Provider found for 3.3.0
        at io.glutenproject.sql.shims.SparkShimLoader$.loadSparkShimProvider(SparkShimLoader.scala:61)
        at io.glutenproject.sql.shims.SparkShimLoader$.getSparkShimProvider(SparkShimLoader.scala:76)
        at io.glutenproject.sql.shims.SparkShimLoader$.getSparkShims(SparkShimLoader.scala:32)
...

Adding path-to-gluten/shims/target/spark-sql-columnar-shims-1.0.0-SNAPSHOT-3.3.jar to Sprak jars folder didn't work.

Expected behavior
No bug or beter instructions how to include necessary dirs.

@j-buczak j-buczak added the bug Something isn't working label Dec 29, 2022
@zhouyuan
Copy link
Contributor

zhouyuan commented Jan 3, 2023

Hi @j-buczak

Spark331 is released on Oct 25, 2022, with many bug fixes(https://spark.apache.org/releases/spark-release-3-3-1.html)

Can you please have a try with Spark331 release? it can be downloaded here:
https://spark.apache.org/downloads.html

Note:
Gluten dropped Spark-330 support as of this patch:
#534

-yuan

@j-buczak
Copy link
Author

j-buczak commented Jan 3, 2023

Thanks, it solves this issue!

@j-buczak j-buczak closed this as completed Jan 3, 2023
@weiting-chen weiting-chen added the CORE works for Gluten Core label Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CORE works for Gluten Core
Projects
None yet
Development

No branches or pull requests

3 participants