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

Use SQLConf instead of SparkConf when looking up SQL configs #522

Merged
merged 1 commit into from
Aug 6, 2020

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Aug 6, 2020

Signed-off-by: Jason Lowe [email protected]

The shuffle manager can crash during planning because it is trying to lookup a SQLConf config property on the SparkConf passed to the shuffle manager during init. If the user doesn't set the spark.sql.adaptive.enabled property then the query fails with a java.util.NoSuchElementException: spark.sql.adaptive.enabled error trying to lookup the missing property.

This updates the shuffle manager to get the SQLConf instance and use that to lookup the SQL-specific config key.

@jlowe jlowe added bug Something isn't working shuffle things that impact the shuffle plugin labels Aug 6, 2020
@jlowe jlowe added this to the Aug 3 - Aug 14 milestone Aug 6, 2020
@jlowe jlowe self-assigned this Aug 6, 2020
@jlowe
Copy link
Member Author

jlowe commented Aug 6, 2020

build

@jlowe jlowe merged commit 5774ade into NVIDIA:branch-0.2 Aug 6, 2020
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
@jlowe jlowe deleted the fix-shufflemgr-sqlconf branch September 10, 2021 15:31
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
Signed-off-by: spark-rapids automation <[email protected]>

Signed-off-by: spark-rapids automation <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working shuffle things that impact the shuffle plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants