Skip to content

[C++] Thrift mirrors are outdated #44607

Closed

Description

@assignUser

Some observations:

  • downloads.apache.org only has archives of Thrift 0.20.0 and 0.21.0 (current latest stable is 0.21.0)
  • Apache appears to now (since 2021?) have a CDN: https://dlcdn.apache.org/thrift/. That also only has archives of 0.20.0 and 0.21.0.

https://apache.org/history/mirror-history.html gives more context and this sentence may explain why this list of URLs degraded over time:

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.

Originally posted by @amoeba in #44523 (comment)

Activity

  1. added this to the 18.1.0 milestone on Nov 1, 2024
  2. self-assigned this
    on Nov 1, 2024
  3. amoeba commented on Nov 4, 2024

    @amoeba
    Member

    For extra context here, we originally found this in this CI job as part of pre-submission testing in #44523.

  4. added a commit that references this issue on Nov 11, 2024
  5. amoeba commented on Nov 11, 2024

    @amoeba
    Member

    Issue resolved by pull request 44685
    #44685

  6. amoeba commented on Nov 11, 2024

    @amoeba
    Member

    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.

  7. added a commit that references this issue on Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions