Skip to content

branch-4.0: [fix](hive) Fix StackOverflowError in insert overwrite on S3-compatible storage #58504#58534

Merged
yiguolei merged 1 commit intobranch-4.0from
auto-pick-58504-branch-4.0
Dec 2, 2025
Merged

branch-4.0: [fix](hive) Fix StackOverflowError in insert overwrite on S3-compatible storage #58504#58534
yiguolei merged 1 commit intobranch-4.0from
auto-pick-58504-branch-4.0

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #58504

…le storage (#58504)

Fix StackOverflowError when executing insert overwrite on Hive tables
stored in S3-compatible object storage (OBS, COS, OSS, etc.). The root
cause is that
S3ObjStorage.listDirectories hardcoded "s3://" scheme when constructing
directory paths, causing scheme mismatch (e.g., obs:// becomes s3://)
which leads to
infinite recursion in HMSTransaction.doRecursiveDeleteFiles. This PR
preserves the original scheme from input path。
@github-actions github-actions bot requested a review from yiguolei as a code owner November 30, 2025 10:45
@morningman morningman closed this Dec 1, 2025
@morningman morningman reopened this Dec 1, 2025
@morningman
Copy link
Contributor

run buildall

@github-actions
Copy link
Contributor Author

github-actions bot commented Dec 1, 2025

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels Dec 1, 2025
@github-actions
Copy link
Contributor Author

github-actions bot commented Dec 1, 2025

PR approved by anyone and no changes requested.

@yiguolei yiguolei merged commit 1d83833 into branch-4.0 Dec 2, 2025
27 of 29 checks passed
@github-actions github-actions bot deleted the auto-pick-58504-branch-4.0 branch December 2, 2025 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants