This is an automated email from the ASF dual-hosted git repository.
Fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-java.git
The following commit(s) were added to refs/heads/master by this push:
new cf7ee1e01 Prepare RC: install Thrift before the release build (#3786)
cf7ee1e01 is described below
commit cf7ee1e01a680029d84276c3ef050acb7302f60c
Author: Russell Spitzer <[email protected]>
AuthorDate: Thu Sep 10 08:28:27 2026 -0500
Prepare RC: install Thrift before the release build (#3786)
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) <[email protected]>
---
.github/workflows/release-prepare-rc.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.github/workflows/release-prepare-rc.yml
b/.github/workflows/release-prepare-rc.yml
index 37f90126c..a0c81036a 100644
--- a/.github/workflows/release-prepare-rc.yml
+++ b/.github/workflows/release-prepare-rc.yml
@@ -76,6 +76,10 @@ jobs:
- name: Install Subversion
run: sudo apt-get update -q && sudo apt-get install -q -y subversion
+ - name: Install Thrift
+ # parquet-format-structures needs the thrift compiler.
+ run: bash dev/ci-before_install.sh
+
- name: Prepare Release Candidate
env:
DRY_RUN: ${{ inputs.dry_run && '1' || '0' }}