Skip to content

Comments

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

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

ORC-1662: [C++] Upgrade protobuf to 3.21.12#1857
ffacs wants to merge 14 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 .

### What changes were proposed in this pull request?

This PR aims to setting version to 3.0.0-SNAPSHOT.

### Why are the changes needed?

Since `branch-2.3` is created, we need to bump `main` branch for next release.
- https://github.com/apache/orc/tree/branch-2.3

### 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`

Closes apache#2541 from dongjoon-hyun/ORC-2100.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
### 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.
- apache#1885
  - apache#1857
  - apache#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 apache#2136 .

Closes apache#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 ?

dongjoon-hyun and others added 11 commits February 22, 2026 19:13
### What changes were proposed in this pull request?

This PR aims to update CMake requirements to 3.25+ consistently.

### Why are the changes needed?

We had better fix these outdated information because we already bumped the minimum requirement to 3.25+.
- apache#2416

### 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`

Closes apache#2545 from dongjoon-hyun/ORC-2103.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
### What changes were proposed in this pull request?

This PR aims to update `amazonlinux` with `2023.10.20260202.2` and use `dnf` instead of `yum`.

### Why are the changes needed?

To use the latest `Amazon Linux` version.

### 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`

Closes apache#2546 from dongjoon-hyun/ORC-2104.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
### What changes were proposed in this pull request?

This PR aims to fix `orc-format.wrap` to use ORC Format 1.1.1.

### Why are the changes needed?

To be consistent with the other modules.
- apache#2355
- apache#2474

### 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`

Closes apache#2547 from dongjoon-hyun/ORC-2105.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
### What changes were proposed in this pull request?

This PR aims to add `Build Status` table of all live branches to `README.md`.

### Why are the changes needed?

To improve the visibility of all live release branches.

### How was this patch tested?

Check the PR branch.

- https://github.com/dongjoon-hyun/orc/tree/ORC-2106

<img width="370" height="382" alt="Screenshot 2026-02-22 at 21 02 28" src="https://github.com/user-attachments/assets/b61922ca-6c63-4943-87f2-eaf1caa4365b" />

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

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

Closes apache#2549 from dongjoon-hyun/ORC-2106.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
### What changes were proposed in this pull request?

This PR aims to improve `create_orc_jira.py` to support types and parents.

### Why are the changes needed?

To make the JIRA issue creation easier.

### How was this patch tested?

Manual test.

```
$ dev/create_orc_jira.py 'Improve `create_orc_jira.py` to support types and parents'
Creating JIRA issue with title: Improve `create_orc_jira.py` to support types and parents
Created JIRA issue: ORC-2107
git checkout -b ORC-2107
Switched to a new branch 'ORC-2107'
Created and checked out branch: ORC-2107
['git', 'commit', '-a', '-m', 'ORC-2107: Improve `create_orc_jira.py` to support types and parents']
Created a commit with message: ORC-2107: Improve `create_orc_jira.py` to support types and parents
```

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

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

Closes apache#2551 from dongjoon-hyun/ORC-2107.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
…d enable retries

### What changes were proposed in this pull request?

This PR aims to add a generic connection and read timeout parameter timeout=(3.05, 30) to the `jira.client.JIRA()` initializations in the dev/ scripts:
- `create_orc_jira.py`
- `merge_orc_pr.py`

### Why are the changes needed?

By default, the requests library (used by the jira python package) can hang indefinitely when attempting to establish a connection if the server is unresponsive. Setting a short connection timeout of 3.05 seconds (slightly larger than a standard 3-second TCP packet retransmission window) ensures that the client will quickly fail the connection attempt and properly trigger its internal retry logic, rather than stalling the entire script. The 30-second read timeout allows sufficient time for normal API responses once the connection is successfully established.

### How was this patch tested?

Manual tests.

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

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

Closes apache#2552 from dongjoon-hyun/ORC-2108.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
### What changes were proposed in this pull request?

This PR aims to improve `create_orc_jira.py` to support the version parameter.

### Why are the changes needed?

To accept `Affected Version` for `Bug` type issues easily.

### How was this patch tested?

Manual tests.

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

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

Closes apache#2554 from dongjoon-hyun/ORC-2109.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Co-authored-by: Cursor <cursoragent@cursor.com>
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>
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