malinjawi opened a new pull request, #13382:
URL: https://github.com/apache/gluten/pull/13382

   ## What changes are proposed in this pull request?
   
   `build/mvn` downloads the pinned Maven (`maven.version`, now 3.9.16) from 
Maven Central only. The CI images don't ship that version, so every CI job that 
calls `build/mvn` downloads it again. Central sometimes answers CI runners with 
403 or 404, and `curl --retry` / `wget --tries` don't retry those, so the job 
fails before anything is built.
   
   This makes `build/mvn` try three sources in order and fail only if all three 
fail:
   
   1. Maven Central (as today)
   2. the Apache CDN, `dlcdn.apache.org` (current releases)
   3. the Apache archive, `archive.apache.org` (every release)
   
   All three serve the same file (same SHA-512 for 3.9.16). Behaviour is 
unchanged when Central works, and the `wget` path gets the same fallback.
   
   Failed jobs from this between 2026-10-07 and 2026-10-19:
   
   | Date | Job | Error |
   |---|---|---|
   | 2026-10-07 | [spark-test-spark40 
(2)](https://github.com/apache/gluten/actions/runs/37601205998/job/112727970536)
 | 404 |
   | 2026-10-11 | [spark-test-spark34 
(3)](https://github.com/apache/gluten/actions/runs/38104444265/job/114368202076)
 | 404 |
   | 2026-10-12 | [spark-test-spark42-slow 
(extended)](https://github.com/apache/gluten/actions/runs/38205101596/job/114692980736)
 | 403 |
   | 2026-10-12 | [tpc-test-centos8 (centos:8, spark-3.5, 
java-8)](https://github.com/apache/gluten/actions/runs/38200304896/job/114654260735)
 | 404 |
   | 2026-10-12 | [tpc-test-ubuntu-randomkill (spark-3.5, 
3)](https://github.com/apache/gluten/actions/runs/38195365539/job/114637477967) 
| 404 |
   | 2026-10-15 | [iceberg-upstream-test (3.5, base, 
0)](https://github.com/apache/gluten/actions/runs/38748738841/job/116505573912) 
| couldn't connect |
   | 2026-10-15 | [spark-test-spark34 
(3)](https://github.com/apache/gluten/actions/runs/38745047943/job/116463329641)
 | 403 |
   | 2026-10-19 | [spark-test-spark42-slow 
(extended)](https://github.com/apache/gluten/actions/runs/39251966344/job/118061974181)
 | 404 |
   
   ## How was this patch tested?
   
   Locally, against a scratch copy of the repo layout:
   - normal download from Central;
   - Central URL broken, so it falls back to the CDN;
   - Central and CDN broken, so it falls back to the archive;
   - all three broken, so it exits 1 and leaves no partial tarball;
   - a second run reuses the downloaded Maven;
   - the `wget` path with Central broken.
   
   ## Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: IBM Bob
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to