jiayuasu opened a new pull request, #3238:
URL: https://github.com/apache/sedona/pull/3238

   ## Did you read the Contributor Guide?
   
   - Yes, I have read the [Contributor 
Rules](https://sedona.apache.org/latest/community/rule/) and [Contributor 
Development Guide](https://sedona.apache.org/latest/community/develop/)
   
   ## Is this PR related to a ticket?
   
   - Yes, and the PR name follows the format `[GH-XXX] my subject`. Closes #3237
   
   ## What changes were proposed in this PR?
   
   The docker image build downloads Spark from a hardcoded third-party mirror 
(mirror.lyrahosting.com) whose TLS certificate has expired, so every 
docker-build CI run currently fails with `curl: (60) SSL certificate problem: 
certificate has expired`.
   
   - Download Spark from the official ASF CDN (dlcdn.apache.org) first, falling 
back to archive.apache.org. The CDN only hosts current releases; the archive 
hosts every version, so pinned older Spark versions keep working.
   - Add `--fail` to the curl calls so an HTTP error (e.g. 404 from the CDN 
after a version rotates off) triggers the fallback instead of saving an error 
page as the tarball.
   - Checksum verification against archive.apache.org is unchanged.
   
   ## How was this patch tested?
   
   `bash -n` syntax check; both download URLs verified (dlcdn returns 404 for 
4.0.1 which exercises the fallback, archive returns 200). The docker-build 
workflow on this PR runs the full image build on amd64 and arm.
   
   ## Did this PR include necessary documentation updates?
   
   - No, this PR does not affect any public API so no need to change the 
documentation.


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

Reply via email to