Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix](hudi) catch exception when getting hudi partition #35027

Merged
merged 1 commit into from
May 21, 2024

Conversation

morningman
Copy link
Contributor

@morningman morningman commented May 17, 2024

Proposed changes

Hudi use a thread pool to get files for each partition.
And use a countdown latch to wait all threads finish.
But if the thread throw exception, the countdown latch will not be counted down,
and thread will be blocked.

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@morningman
Copy link
Contributor Author

run buildall

Copy link
Contributor

PR approved by anyone and no changes requested.

@morningman
Copy link
Contributor Author

run buildall

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label May 21, 2024
Copy link
Contributor

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

@morningman morningman merged commit ff79fa8 into apache:master May 21, 2024
25 of 26 checks passed
morningman added a commit to morningman/doris that referenced this pull request May 21, 2024
Hudi use a thread pool to get files for each partition.
And use a countdown latch to wait all threads finish.
But if the thread throw exception, the countdown latch will not be counted down,
and thread will be blocked.
dataroaring pushed a commit that referenced this pull request May 26, 2024
Hudi use a thread pool to get files for each partition.
And use a countdown latch to wait all threads finish.
But if the thread throw exception, the countdown latch will not be counted down,
and thread will be blocked.
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. dev/2.1.4-merged dev/3.0.0-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants