Closed navneet1v closed 2 years ago
Moved to geospatial since that's where the issue is. The URL to get lucene snapshots comes from https://github.com/opensearch-project/OpenSearch/blob/1eda2bbe3ad5d60d10c60d5e4fd1e8711198b4c4/buildSrc/src/main/java/org/opensearch/gradle/RepositoriesSetupPlugin.java#L97, or otherwise you can add that explicitly like in https://github.com/opensearch-project/opensearch-sdk-java/blob/7af4f075757b292ae21f590df59419328b3f2dff/build.gradle#L49
@dblock I am not sure it is the issue with Geospatial plugin. Somehow, on my local development I am getting this error where I am not able to download the snapshot of Lucene. Not sure what is the issue. Can you provide some help regarding the debugging like 429 status is little tricky.
The bug seems to be specific with the maven cache. Even after clearing the lucene repo from the local maven didn't solve the issue.
At the end used rm -rf ~/.m2/repository
to clear the whole local maven repo. Which resolved the issue.
I'm glad this is fixed for you!
Describe the bug Getting error while building the OpenSearch plugin
To Reproduce Steps to reproduce the behavior:
./gradlew build
Expected behavior A clear and concise description of what you expected to happen.
Plugins GeoSpatial
Screenshots If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):