You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any organization that has been hosting an Apache download mirror site, and that finds it useful for its own purposes, may continue to host the mirror site.
So I think by continuing to use these mirror URLs we were living on borrowed time. The CDN is now the recommended way for users to download content from ASF projects.
So I think we actually need to do two things here:
Change the URL to just use the ASF CDN
Update our Thrift version in cpp/thirdparty/versions.txt to 0.20.0 or greater. Arrow C++ builds cleanly on my system when using Brew-provided Thrift 0.21.0 so it seems like this may be doable.
Note for posterity: We opted not to upgrade all the way to Thrift 0.21.0 here because Thrift 0.21.0 requires an upgrade to Boost 1.86.0 and that version of Boost shipped a buggy bcp which we use in cpp/build-support/trim-boost.sh to repackage Boost. We can upgrade Thrift and Boost once a fixed Boost release has been published.
…#44685)
### Rationale for this change
Builds with bundled Thrift could fail because of permanently offline download mirror URLs. ASF now provides [a CDN](https://dlcdn.apache.org/).
### What changes are included in this PR?
1. Updates the pinned version for bundled Thrift from 0.16.0 to 0.20.0. We couldn't just update the URLs because the ASF CDN only hosts the last two versions of Thrift (0.20, 0.21.0). We didn't upgrade to Thrift 0.21.0 in this PR because it requires Boost 1.86.0 and we found incompatibilities with Boost 1.86.0 and `cpp/build-support/trim-boost.sh` which we use to publish a trimmed-down distribution of Boost for our build system to use.
2. Removes the set of URLs we were using to download Thrift in favor of just using the main CDN URL. We'll see how this works in practice.
### Are these changes tested?
Yes. I configured a build with `...-DThrift_SOURCE=BUNDLED...` and ran the full C++ test suite. I think further testing can be done in CI.
### Are there any user-facing changes?
No.
Closes#44607
* GitHub Issue: #44607
Authored-by: Bryce Mecum <[email protected]>
Signed-off-by: Bryce Mecum <[email protected]>
Some observations:
https://apache.org/history/mirror-history.html gives more context and this sentence may explain why this list of URLs degraded over time:
So I think by continuing to use these mirror URLs we were living on borrowed time. The CDN is now the recommended way for users to download content from ASF projects.
So I think we actually need to do two things here:
Originally posted by @amoeba in #44523 (comment)
The text was updated successfully, but these errors were encountered: