-
Notifications
You must be signed in to change notification settings - Fork 143
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] Knn plugin is fetching from snapshot for few dependencies #2569
Comments
Adding more context, Recently 2.18.0-SNAPSHOTS were unavailable on https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/gradle/build-tools/ due to some issue with sonatype storage.
This is coming from https://github.com/opensearch-project/k-NN/blob/2.18.0.0/scripts/build.sh#L127-L134 |
Hi @owaiskazi19 @gaiksaya as per offline discussion yes we are in the process of contacting sonatype on this. Thanks. |
@peterzhuamazon that's not the issue here. Issue is with the knn build file using SNAPSHOT version rather release version for building jni library. |
@owaiskazi19 I think its not JNI lib, its the build script we have in the k-NN repo. Correct? JNI as per my understanding don't look at SNAPSHOT version or not. |
If concerned, add If you run the command by itself it will just default to snapshot=true. |
Yes it's the build script |
What is the bug?
For building jniLIb, knn is fetching from snapshot rather release version here
How can one reproduce the bug?
Steps to reproduce the behavior:
./gradlew :buildJniLib -Davx512.enabled=false -Davx2.enabled=false -Dbuild.lib.commit_patches=false
, it fetches the snapshot versionWhat is the expected behavior?
Should fetch from the release version
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: