-
Notifications
You must be signed in to change notification settings - Fork 169
Bump JDK to 24, gradle to 8.14 #2792
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
Bump JDK to 24, gradle to 8.14 #2792
Conversation
Signed-off-by: Finn Roblin <[email protected]>
|
Build failures are coming from the I am investigating if bumping the lombok version will fix this. |
Signed-off-by: Finn Roblin <[email protected]>
|
Build is working locally, rerunning CI with lombok upgrade. |
Signed-off-by: Finn Roblin <[email protected]>
…emorySize deprecation issue Signed-off-by: Finn Roblin <[email protected]>
Signed-off-by: Finn Roblin <[email protected]>
Signed-off-by: Finn Roblin <[email protected]>
|
Hi @reta, the k-NN plugin windows CI is failing after JDK 24 bump likely due to security manager deprecation. The cause appears to be an I added |
Hi @finnroblin , sure, I will take a look shortly, couldn't point to the exact problem yet since we have seen a few. Thank you |
|
@reta I'm about to raise a PR in core. A few min. |
|
@reta Not sure how to test, but I believe the changes in opensearch-project/OpenSearch#18752 would resolve the issue. |
Signed-off-by: Finn Roblin <[email protected]>
|
Windows CI passing after this change merged into core. Thanks @cwperks @reta! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
| permission java.lang.RuntimePermission "loadLibrary.opensearchknn_faiss_avx512"; | ||
| permission java.lang.RuntimePermission "loadLibrary.opensearchknn_faiss_avx512_spr"; | ||
| permission java.net.SocketPermission "*", "connect,resolve"; | ||
| permission java.net.NetPermission "accessUnixDomainSocket"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we adding this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need this permission for remote index build client on windows. Otherwise it will fail due to the OS security manager. OS core needed to add it to their transport plugins which use similar mechanisms to remote index build client.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense. Thanks!
* Bump JDK to 24, gradle to 8.14 Signed-off-by: Finn Roblin <[email protected]> * bump lombok to 8.14, add changelog entry Signed-off-by: Finn Roblin <[email protected]> * bump jacoco version Signed-off-by: Finn Roblin <[email protected]> * remove java 24 from bwc to avoid getTotalPhysicalMemorySize/getTotalMemorySize deprecation issue Signed-off-by: Finn Roblin <[email protected]> * switch from deprecate java SM to opensearch SM in RemoteIndexHTTPClient Signed-off-by: Finn Roblin <[email protected]> * add accessUnixDomainSocket to fix windows CI Signed-off-by: Finn Roblin <[email protected]> * changelog change to rerun CI Signed-off-by: Finn Roblin <[email protected]> --------- Signed-off-by: Finn Roblin <[email protected]> Signed-off-by: Leo Yu <[email protected]>
Description
Upgrade Java version to 24 and gradle to 8.14 as per ask from infra team.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
--signoff.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.