-
Notifications
You must be signed in to change notification settings - Fork 169
Force core :server error prone annotations version #2885
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
Force core :server error prone annotations version #2885
Conversation
|
Even when moving the knn failureaccess to implementation it is still not available at runtime it seems... |
|
BTW I also have my attempt of the same: #2878 |
|
With only forcing guava resolution failure access does not appear in the distribution bundle as it is now no longer included through grpc transport module due to move to SPI. Including failure access ass an explicit dependency for test implementation gets failure access into the bundle: -> But still the class loader cannot find this definition... |
|
@finnegancarroll I tried this change: https://github.com/opensearch-project/k-NN/pull/2878/files and I was able to fix this error but other errors related to 10.3 started popping up. I am fixing them. But WDYT about the fix on build.gradle |
|
I think the problem of I see integration tests passing locally with: @navneet1v I think this^ is the only change you need to you |
Signed-off-by: Finn Carroll <[email protected]>
ca86f11 to
4a6638e
Compare
|
Local testing setup: Building OS distribution without lucene version bump and with failure access in transport-grpc SPI: Testing knn ITs with single local node: |
Yes you are right. Extra ones I have to clean up. |
|
I am working on complete fix and will raise PR soon. Couple of unit tests are left to be fixed |
Description
There seems to be a newly introduced dependency conflict with error_prone_annotations.
opensearch-project/OpenSearch@b9c5bc7#diff-56915d53ea588a229a43cca18bc96695cb3aec2812cb24f8514062ca0d9ccb41R101-R103
2.26.1 is included with
guava:33.2.1-jreso KNN sees both versions.This new version of error_prone_annotations is visible through
:test:framework.which in turn gets it from taking a dependency on
:server:Related Issues
N/A
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.