Force core :server error prone annotations version#2885
Force core :server error prone annotations version#2885finnegancarroll wants to merge 1 commit intoopensearch-project:mainfrom
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 <carrofin@amazon.com>
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.