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

[Feature] Support for Rapids (GPU) with Spark Thrift in DBT #472

Open
2 tasks done
sjabber opened this issue Sep 25, 2024 · 0 comments
Open
2 tasks done

[Feature] Support for Rapids (GPU) with Spark Thrift in DBT #472

sjabber opened this issue Sep 25, 2024 · 0 comments
Labels
pkg:dbt-spark Issue affects dbt-spark type:enhancement New feature request

Comments

@sjabber
Copy link

sjabber commented Sep 25, 2024

Is this a new bug in dbt-core?

  • I believe this is a new bug in dbt-core
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

dbt throws error when spark thrift uses GPU (Rapids)

Expected Behavior

When attempting to use dbt run with Spark Thrift that utilizes the Rapids library, the following error occurs:
org.apache.hive.service.cli.HiveSQLException: Error running query: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: com/nvidia/spark/rapids/RuleNotFoundExprMeta
at org.apache.spark.sql.hive.thriftserver.HiveThriftServerErrors$.runningQueryError(HiveThriftServerErrors.scala:46)

Steps To Reproduce

My Environment Details:

DBT version : 1.8.3
Spark version : 3.5.0
Rapids : rapids-4-spark_2.12-23.12.0.jar

When i make dbt model and run in spark thrift with rapids library, such error occurred

Relevant log output

java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: com/nvidia/spark/rapids/RuleNotFoundExprMeta

Environment

- OS: Rocky Linux 8.5 (Green Obsidian)
- Python: 3.8.13
- dbt-core:1.8.6
- dbt-spark: 1.8.0

Which database adapter are you using with dbt?

spark

Additional Context

I posted the issue somewhere else by mistake before, so I'm attaching it again.
[dbt not support rapids spark] (dbt-labs/docs.getdbt.com#6102 (comment))

@sjabber sjabber added type:bug Something isn't working as documented triage:product In Product's queue labels Sep 25, 2024
@dbeatty10 dbeatty10 transferred this issue from dbt-labs/dbt-core Sep 25, 2024
@amychen1776 amychen1776 added type:enhancement New feature request and removed type:bug Something isn't working as documented triage:product In Product's queue labels Oct 1, 2024
@amychen1776 amychen1776 changed the title [Bug] Support for Rapids (GPU) with Spark Thrift in DBT [Feature] Support for Rapids (GPU) with Spark Thrift in DBT Oct 1, 2024
@mikealfare mikealfare added the pkg:dbt-spark Issue affects dbt-spark label Jan 13, 2025
@mikealfare mikealfare transferred this issue from dbt-labs/dbt-spark Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg:dbt-spark Issue affects dbt-spark type:enhancement New feature request
Projects
None yet
Development

No branches or pull requests

3 participants