voonhous opened a new pull request, #21106: URL: https://github.com/apache/hudi/pull/21106
### Describe the issue this Pull Request addresses Closes #21105 The GitHub runner images now ship Maven 3.10.2, which bundles maven-resolver 2.0.26. Resolver 2 reads the HTTP transport settings only as `aether.transport.http.*`. CI passes its retry and timeout tuning only as `aether.connector.http.*`, so on Maven 3.10 it is silently dropped. Jobs run with the default 3 retries 5s apart instead of the tuned values, and a burst of 429s from Maven Central fails the build: ``` GET request to .../maven-clean-plugin-3.1.0.pom failed (attempt 1 of 4) due to status 429. Retrying in 5000 ms (due to retryInterval 5000 ms multiplied by execution count 1)... ``` ### Summary and Changelog - Pass each resolver setting (`retryHandler.count`, `interval`, `intervalMax`, `serviceUnavailable`, `connectionMaxTtl`) under both `aether.connector.http.*` and `aether.transport.http.*`. Resolver 1.x (Maven 3.9) and resolver 2.x each ignore the other's names, so the same values apply on either version. - Applies to `MVN_ARGS` in `bot.yml`, `hudi_trino_e2e.yml`, `maven_artifact_validation.yml`, `release_candidate_validation.yml`, and `MVN_OPTS_INSTALL` in `azure-pipelines-20230430.yml`. The values are unchanged. - Update the comments that explain these properties. The property names were checked against the `maven-resolver-api` and `maven-resolver-util` 2.0.26 jars shipped in the Maven 3.10.2 distribution. ### Impact CI only. Jobs on Maven 3.10 get the retry window the tuning was meant to give. The resolver backoff stays linear, so this does not by itself survive a sustained Central rate limit. #21105 tracks an open question about the Maven cache not being used for the first plugin download. ### Risk Level low. Unknown `-D` properties are ignored by Maven, so the extra names are inert on versions that do not read them. ### Documentation Update none ### Contributor's checklist - [x] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [x] Enough context is provided in the sections above - [ ] Adequate tests were added if applicable -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
