PARQUET-2054: fix TCP leaking when calling ParquetFileWriter.appendFile#913
Merged
gszadovszky merged 2 commits intoapache:masterfrom Jun 22, 2021
Merged
Conversation
gszadovszky
approved these changes
Jun 7, 2021
Contributor
|
Thanks, Kai for working on this! Can you check if there are other places having a similar issues? |
Contributor
Author
|
Thanks, Xinli and Gabor! I will search it globally to see if any other places having this similar issue. |
Contributor
|
@vectorijk, any updates on this? Do you plan to search similar issues under this PR or we can consider it complete? |
Contributor
Author
|
Hi @gszadovszky , Xinli, could you help to have another look when you have time? I search globally for the similar issue (not closed |
gszadovszky
approved these changes
Jun 21, 2021
Contributor
gszadovszky
left a comment
There was a problem hiding this comment.
Thanks a lot, @vectorijk for you efforts!
shangxinli
pushed a commit
to shangxinli/parquet-mr
that referenced
this pull request
Sep 9, 2021
…le (apache#913) * use try-with-resource statement for ParquetFileReader to call close explicitly
shangxinli
pushed a commit
that referenced
this pull request
Sep 9, 2021
…le (#913) * use try-with-resource statement for ParquetFileReader to call close explicitly
sunchao
pushed a commit
to sunchao/parquet-mr
that referenced
this pull request
Mar 3, 2022
…le (apache#913) * use try-with-resource statement for ParquetFileReader to call close explicitly (cherry picked from commit 387e138)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
use try-with-resource clause to close ParquetFileReader explicitly to prevent TCP leaking issue
Make sure you have checked all steps below.
Jira
Tests
Commits
Documentation