-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
Issue 358 - Support for JDK 17 #382
Conversation
Huzzah added a commit to trigger GHA lets see if it works :) |
Thank you. I see it fails, and before fixing I wanted to hear from you. The reason it fails is that the exclusions I added for JDK17 are not for ADOPT but for a different distribution... Do we want to align the distributions with the one used to build Spark on JDK17? |
I double checked and it is using temurin here https://github.com/apache/spark/blob/master/.github/workflows/build_and_test.yml#L233, so I am aligning the java distros with ebd2232, however it's still fail! But I am sure I had tested it locally, and I just confirmed it As you see from the following log, on my machine, using Java 17.0.3, the tests pass on commit ebd2232. Is there something special happening in the CI/CD pipeline that I should be aware of @holdenk ?
|
We've already got java17 options up at the top of the build file.
Apologies for breaking the build with pull #380. This should work, can you run the workflows before approving?
The fix involved passing a distribution to the setup-java action, see 0c787ce
From the distributions at https://github.com/actions/setup-java#supported-distributions Adopt seem a good one, however the Ubuntu runner uses Temurin from Eclipse: https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md