Skip to content

[CI] Download Zeppelin from the Apache CDN instead of the Lyra mirror - #3248

Merged
jiayuasu merged 1 commit into
apache:masterfrom
jiayuasu:fix/zeppelin-download-mirror
Aug 10, 2026
Merged

[CI] Download Zeppelin from the Apache CDN instead of the Lyra mirror#3248
jiayuasu merged 1 commit into
apache:masterfrom
jiayuasu:fix/zeppelin-download-mirror

Conversation

@jiayuasu

Copy link
Copy Markdown
Member

Did you read the Contributor Guide?

Is this PR related to a ticket?

  • No, this is a CI update. The PR name follows the format [CI] my subject

What changes were proposed in this PR?

The nightly docker image build has been failing intermittently since 2026-08-05 with:

Downloading Zeppelin 0.12.0 from Lyra Hosting mirror...
curl: (60) SSL certificate problem: certificate has expired

mirror.lyrahosting.com sits behind a load balancer where one backend has been serving an expired TLS certificate (expired 2026-08-04); whether a given curl hits the good or bad backend is a coin flip, so the amd64 and arm64 build stages can fail independently.

Changes to docker/install-zeppelin.sh:

  • Download Zeppelin from dlcdn.apache.org (the Apache CDN) instead of the third-party Lyra mirror.
  • Fall back to archive.apache.org if the CDN download fails, since dlcdn only hosts current releases. The sha512 checksum is still fetched from the Apache archive and verified either way.
  • Pass --fail to curl (matching install-spark.sh) so an HTTP error page is not saved as the tarball and a 404 correctly triggers the fallback.

How was this patch tested?

  • Verified both dlcdn.apache.org and archive.apache.org serve zeppelin-0.12.0-bin-netinst.tgz (HTTP 200).
  • Smoke-tested the fallback path locally: a 404 on the primary URL now fails fast and the archive fallback downloads and passes the content check.
  • bash -n and shellcheck (pre-commit) pass.

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the documentation.

mirror.lyrahosting.com has one backend serving an expired TLS certificate
since 2026-08-04, which makes the nightly docker image build fail
intermittently with curl exit code 60. Download from dlcdn.apache.org
instead and fall back to archive.apache.org, since dlcdn only hosts
current releases. Also pass --fail to curl so an HTTP error page is not
saved as the archive, which lets the fallback trigger on 404.
@jiayuasu
jiayuasu merged commit 87b3376 into apache:master Aug 10, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant