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

[BUG] Failed test against Spark 3.2.0 using a single-shim jar on Databricks #11581

Open
razajafri opened this issue Oct 9, 2024 · 0 comments
Labels
? - Needs Triage Need team to review and classify bug Something isn't working

Comments

@razajafri
Copy link
Collaborator

Describe the bug
Databricks tests will try to run the tests against spark-3.2.0 even if we build a single shim jar. e.g.

Steps/Code to reproduce bug
WITH_DEFAULT_UPSTREAM_SHIM=0 ./jenkins/databricks/build.sh
./jenkins/databricks/test.sh will quietly exit with the following output

+ /home/ubuntu/spark-3.2.0-bin-hadoop3.2/bin/spark-shell --master 'local-cluster[1,2,1024]' --conf spark.plugins=com.nvidia.spark.SQLPlugin --conf spark.deploy.maxExecutorRetries=0 --conf spark.shuffle.manager=com.nvidia.spark.rapids.spark320.RapidsShuffleManager --driver-class-path /home/ubuntu/spark-rapids/dist/target/rapids-4-spark_2.12-24.10.0-SNAPSHOT-cuda11.jar:/home/ubuntu/spark-rapids/integration_tests/target/rapids-4-spark-integration-tests_2.12-24.10.0-SNAPSHOT-spark341db.jar:/home/ubuntu/spark-rapids/integration_tests/target/dependency/parquet-hadoop-1.12.0-tests.jar --conf spark.executor.extraClassPath=/home/ubuntu/spark-rapids/dist/target/rapids-4-spark_2.12-24.10.0-SNAPSHOT-cuda11.jar:/home/ubuntu/spark-rapids/integration_tests/target/rapids-4-spark-integration-tests_2.12-24.10.0-SNAPSHOT-spark341db.jar:/home/ubuntu/spark-rapids/integration_tests/target/dependency/parquet-hadoop-1.12.0-tests.jar
+ grep -F 'res0: Array[org.apache.spark.sql.Row] = Array([4950])'

because it tries to run tests against spark-3.2.0 which we didn't build for.

Expected behavior
We should detect if we should run the spark-3.2.0 tests

@razajafri razajafri added ? - Needs Triage Need team to review and classify bug Something isn't working labels Oct 9, 2024
@razajafri razajafri changed the title [BUG] [BUG] Failed test against Spark 3.2.0 using a single-shim jar on Databricks Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
? - Needs Triage Need team to review and classify bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant