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] Bloop project import for VSCode/Metals fails for Databricks Maven profiles #12245

Open
gerashegalov opened this issue Mar 3, 2025 · 0 comments · May be fixed by #12249
Open

[BUG] Bloop project import for VSCode/Metals fails for Databricks Maven profiles #12245

gerashegalov opened this issue Mar 3, 2025 · 0 comments · May be fixed by #12249
Assignees
Labels
bug Something isn't working

Comments

@gerashegalov
Copy link
Collaborator

gerashegalov commented Mar 3, 2025

Describe the bug

dbrhost:~/spark-rapids$ WITH_BLOOP=1 ./jenkins/databricks/build.sh
[INFO] Compiling 20 Scala sources and 2 Java sources to /home/ubuntu/spark-rapids/sql-plugin-api/target/spark350db143/classes...                                                                                     
[ERROR] warning: [options] bootstrap class path not set in conjunction with -source 8                                                                                                                                
[ERROR] error: warnings found and -Werror specified                                                       
[ERROR] error: warnings found and -Werror specified                                                       
[ERROR] error: warnings found and -Werror specified                                                       
[ERROR] error: warnings found and -Werror specified                                                       
[ERROR] 4 errors                                     
[ERROR] 1 warning  

Looks like we inadvertently fallback to JDK8 profiles although we request zulu11+

export JAVA_HOME="/usr/lib/jvm/zulu11"

The root cause is that we cannot build on Databricks using jdk9+

$ JAVA_HOME=/usr/lib/jvm/zulu17  mvn -Ddatabricks -Dbuildver=350db143 compile -pl sql-plugin-api

reproduces the compile error.

@gerashegalov gerashegalov added ? - Needs Triage Need team to review and classify bug Something isn't working and removed ? - Needs Triage Need team to review and classify labels Mar 3, 2025
@gerashegalov gerashegalov linked a pull request Mar 4, 2025 that will close this issue
@gerashegalov gerashegalov self-assigned this Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant