voonhous opened a new issue, #21105: URL: https://github.com/apache/hudi/issues/21105
### Describe the problem The GitHub runner images now ship Maven 3.10.2, which bundles maven-resolver 2.0.26. Resolver 2 renamed the HTTP transport properties from `aether.connector.http.*` to `aether.transport.http.*`. It does not read the old names. Our CI passes the retry and timeout tuning only under the old names (`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`). On Maven 3.10 all of it is silently dropped: - `retryHandler.count=5` -- runs with the default 3 retries - `retryHandler.interval=3000` / `intervalMax=30000` -- runs with the default 5s interval - `retryHandler.serviceUnavailable=429,500,502,503,504` -- runs with the default list - `connectionMaxTtl=25` -- runs with the default The job log shows the defaults even though `MVN_ARGS` holds the tuned values: ``` [WARNING] GET request to https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/3.1.0/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)... ... [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:3.1.0 or one of its dependencies could not be resolved: ... HTTP Status: 429 ``` Examples (Java CI on a fork, 2026-12-04): - https://github.com/voonhous/hudi/actions/runs/47408646048/job/145305905935 - https://github.com/voonhous/hudi/actions/runs/47408652367/job/145305926668 ### Expected behavior The tuning applies on both Maven 3.9 and Maven 3.10. Pass each knob under both names: resolver 1.x ignores `aether.transport.http.*` and resolver 2.x ignores `aether.connector.http.*`, so both sets can sit side by side. ### Notes The resolver backoff is linear (interval x attempt, capped by `intervalMax`) and honours `Retry-After`. There is no exponential option. Restoring the tuning gives a longer retry window, but it will not outlast a sustained rate limit on its own. Open question, not addressed by the fix: the failing jobs restored the `setup-java` Maven cache (about 2 GB), yet the first request still went to Central for `maven-clean-plugin-3.1.0.pom`. A warm cache should already hold it. Passing runs use the same Maven 3.10.2 and the same cache key, so the version alone does not explain it. Worth checking whether the cache actually reaches the resolver before looking at more retries. -- 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]
