Skip to content

Prepare RC: install Thrift before the release build - #3786

Merged
Fokko merged 1 commit into
apache:masterfrom
RussellSpitzer:fix/release-install-thrift
Sep 10, 2026
Merged

Prepare RC: install Thrift before the release build#3786
Fokko merged 1 commit into
apache:masterfrom
RussellSpitzer:fix/release-install-thrift

Conversation

@RussellSpitzer

Copy link
Copy Markdown
Member

Rationale for this change

We need thrift to compile and test parquet-format-structures

What changes are included in this PR?

We run the dev cli script which installs thrift

Are these changes tested?

No

Are there any user-facing changes?

No

parquet-format-structures compiles .thrift sources with the thrift
binary, but release-prepare-rc.yml never installed it, so the release
build failed with "thrift: not found" once it reached module 2. This was
masked until now because earlier runs failed on the Nexus deploy of
module 1 and never got that far.

Reuse dev/ci-before_install.sh — the same script ci-hadoop3.yml uses —
so the release build compiles against the Thrift version CI validated
against, and a future version bump updates both together.

CI_TARGET_BRANCH is deliberately left unset. It makes the script source
dev/ci-before_install-<branch>.sh, and the only such script is a
master-branch SNAPSHOT check that is irrelevant to a release build.

release-publish.yml needs no equivalent change: its only Maven call is
./mvnw -pl . versions:set-property, which compiles nothing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Fokko
Fokko merged commit cf7ee1e into apache:master Sep 10, 2026
5 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.

2 participants