Skip to content

Comments

ORC-1662: [C++] Upgrade protobuf to 3.21.12#1857

Open
ffacs wants to merge 3 commits intoapache:mainfrom
ffacs:bump_protobuf_version
Open

ORC-1662: [C++] Upgrade protobuf to 3.21.12#1857
ffacs wants to merge 3 commits intoapache:mainfrom
ffacs:bump_protobuf_version

Conversation

@ffacs
Copy link
Contributor

@ffacs ffacs commented Mar 21, 2024

What changes were proposed in this pull request?

Upgrade protobuf to 3.21.12

Why are the changes needed?

To fix compilation failure on vs2022

How was this patch tested?

UT passed

Was this patch authored or co-authored using generative AI tooling?

NO

@github-actions github-actions bot added the BUILD label Mar 21, 2024
@wgtmac
Copy link
Member

wgtmac commented Mar 22, 2024

Thanks for the PR! Unfortunately the new protobuf version is not compatible to compile libhdfspp. Let me investigate this.

@wgtmac
Copy link
Member

wgtmac commented Mar 22, 2024

Update: I tried to upgrade libhdfspp. But unfortunately, I ran this command https://github.com/apache/orc/blob/main/c%2B%2B/libs/libhdfspp/pull_hdfs.sh#L25 without check. It wiped out my current directory (which is the root user profile).

@dongjoon-hyun
Copy link
Member

Oh, too bad for the accident.

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Feb 20, 2025

I re-target this to Apache ORC 3.0.0 with the following, @ffacs and @wgtmac .

@dongjoon-hyun dongjoon-hyun modified the milestones: 2.2.0, 3.0.0 Feb 20, 2025
dongjoon-hyun added a commit that referenced this pull request Feb 23, 2026
### What changes were proposed in this pull request?

This PR aims to remove HDFS support code from Apache ORC repository.

### Why are the changes needed?

Apache ORC 2.0.1 deprecated HDFS Support to address the following issues.
- #1885
  - #1857
  - #2134

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: `Gemini 3.1 Pro (High)` on `Antigravity`

This closes #2136 .

Closes #2544 from dongjoon-hyun/ORC-2102.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun
Copy link
Member

Could you rebase this PR, @ffacs ?

ffacs and others added 3 commits February 25, 2026 19:38
Guard alias creation for protobuf::libprotobuf and protobuf::protoc to
avoid duplicate target errors when Protobuf >= 3.21 already exports
them. Also mark protobuf headers as SYSTEM to suppress compiler
warnings from protobuf code.

Co-authored-by: Cursor <cursoragent@cursor.com>
Align the meson build protobuf version with the CMake build (3.21.12)
using the latest wrapdb patch (3.21.12-5).

Co-authored-by: Cursor <cursoragent@cursor.com>
@ffacs ffacs force-pushed the bump_protobuf_version branch from f9737e2 to 91a336a Compare February 25, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants