Uh oh!
There was an error while loading. Please reload this page.
[Fix](hdfs-fs)The cache expiration should explicitly release the held fs - #38610
Merged
Conversation
doris-robot
commented
Jul 31, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
CalvinKirs
commented
Jul 31, 2024
MemberAuthor
run buildall |
doris-robot
commented
Jul 31, 2024
TPC-H: Total hot run time: 42018 ms |
doris-robot
commented
Jul 31, 2024
TPC-DS: Total hot run time: 170660 ms |
doris-robot
commented
Jul 31, 2024
ClickBench: Total hot run time: 30.15 s |
CalvinKirs
commented
Aug 1, 2024
MemberAuthor
run cloud_p1 |
CalvinKirs
commented
Aug 1, 2024
MemberAuthor
run External |
CalvinKirs
commented
Aug 1, 2024
MemberAuthor
run buildall |
doris-robot
commented
Aug 1, 2024
TPC-H: Total hot run time: 41740 ms |
doris-robot
commented
Aug 1, 2024
TPC-DS: Total hot run time: 169975 ms |
doris-robot
commented
Aug 1, 2024
ClickBench: Total hot run time: 29.92 s |
CalvinKirs
commented
Aug 1, 2024
MemberAuthor
run buildall |
doris-robot
commented
Aug 1, 2024
TPC-H: Total hot run time: 41306 ms |
doris-robot
commented
Aug 1, 2024
TPC-DS: Total hot run time: 170308 ms |
doris-robot
commented
Aug 1, 2024
ClickBench: Total hot run time: 29.81 s |
CalvinKirs
commented
Aug 1, 2024
MemberAuthor
run p0 |
CalvinKirs
commented
Sep 3, 2024
MemberAuthor
run buildall |
1 similar comment
CalvinKirs
commented
Sep 3, 2024
MemberAuthor
run buildall |
CalvinKirs
commented
Sep 5, 2024
MemberAuthor
run buildall |
doris-robot
commented
Sep 5, 2024
TPC-H: Total hot run time: 38125 ms |
doris-robot
commented
Sep 5, 2024
TPC-DS: Total hot run time: 186322 ms |
doris-robot
commented
Sep 5, 2024
ClickBench: Total hot run time: 31.42 s |
CalvinKirs
commented
Sep 5, 2024
MemberAuthor
run cloud_p0 |
2 similar comments
CalvinKirs
commented
Sep 5, 2024
MemberAuthor
run cloud_p0 |
CalvinKirs
commented
Sep 5, 2024
MemberAuthor
run cloud_p0 |
JNSimba
approved these changes
Sep 6, 2024
CalvinKirs
commented
Sep 6, 2024
MemberAuthor
run cloud_p0 |
CalvinKirs added a commit
to CalvinKirs/incubator-doris
that referenced
this pull request
Sep 7, 2024
… fs (apache#38610) ## Proposed changes The RemoteFSPhantomManager class is responsible for managing phantom references of RemoteFileSystem objects, ensuring that the associated FileSystem resources are automatically cleaned up when RemoteFileSystem objects are garbage collected. Key features: - Phantom Reference Monitoring: The class uses a ReferenceQueue and PhantomReference to track RemoteFileSystem objects. When these objects are no longer in use and garbage collected, the class ensures the corresponding FileSystem resources are properly closed to prevent resource leaks. - Thread-safe Cleanup: It provides a thread-safe mechanism to start a cleanup thread only once. This thread runs periodically, checking the ReferenceQueue and closing any unused FileSystem resources. Resource Management: The class maintains a map between phantom references and their corresponding FileSystem objects, ensuring that these resources are cleaned up appropriately. - The cleanup thread runs at regular intervals, ensuring that any RemoteFileSystem object that is no longer in use is safely removed along with its associated FileSystem resources. (cherry picked from commit 922ec3a)
xiaokang pushed a commit
that referenced
this pull request
Sep 7, 2024
gavinchou pushed a commit
that referenced
this pull request
Sep 12, 2024
… fs (#38610) ## Proposed changes The RemoteFSPhantomManager class is responsible for managing phantom references of RemoteFileSystem objects, ensuring that the associated FileSystem resources are automatically cleaned up when RemoteFileSystem objects are garbage collected. Key features: - Phantom Reference Monitoring: The class uses a ReferenceQueue and PhantomReference to track RemoteFileSystem objects. When these objects are no longer in use and garbage collected, the class ensures the corresponding FileSystem resources are properly closed to prevent resource leaks. - Thread-safe Cleanup: It provides a thread-safe mechanism to start a cleanup thread only once. This thread runs periodically, checking the ReferenceQueue and closing any unused FileSystem resources. Resource Management: The class maintains a map between phantom references and their corresponding FileSystem objects, ensuring that these resources are cleaned up appropriately. - The cleanup thread runs at regular intervals, ensuring that any RemoteFileSystem object that is no longer in use is safely removed along with its associated FileSystem resources.
CalvinKirs added a commit
to CalvinKirs/incubator-doris
that referenced
this pull request
Sep 23, 2024
… fs (apache#38610) ## Proposed changes The RemoteFSPhantomManager class is responsible for managing phantom references of RemoteFileSystem objects, ensuring that the associated FileSystem resources are automatically cleaned up when RemoteFileSystem objects are garbage collected. Key features: - Phantom Reference Monitoring: The class uses a ReferenceQueue and PhantomReference to track RemoteFileSystem objects. When these objects are no longer in use and garbage collected, the class ensures the corresponding FileSystem resources are properly closed to prevent resource leaks. - Thread-safe Cleanup: It provides a thread-safe mechanism to start a cleanup thread only once. This thread runs periodically, checking the ReferenceQueue and closing any unused FileSystem resources. Resource Management: The class maintains a map between phantom references and their corresponding FileSystem objects, ensuring that these resources are cleaned up appropriately. - The cleanup thread runs at regular intervals, ensuring that any RemoteFileSystem object that is no longer in use is safely removed along with its associated FileSystem resources. (cherry picked from commit 922ec3a)
Closed
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
… fs (apache#38610) ## Proposed changes The RemoteFSPhantomManager class is responsible for managing phantom references of RemoteFileSystem objects, ensuring that the associated FileSystem resources are automatically cleaned up when RemoteFileSystem objects are garbage collected. Key features: - Phantom Reference Monitoring: The class uses a ReferenceQueue and PhantomReference to track RemoteFileSystem objects. When these objects are no longer in use and garbage collected, the class ensures the corresponding FileSystem resources are properly closed to prevent resource leaks. - Thread-safe Cleanup: It provides a thread-safe mechanism to start a cleanup thread only once. This thread runs periodically, checking the ReferenceQueue and closing any unused FileSystem resources. Resource Management: The class maintains a map between phantom references and their corresponding FileSystem objects, ensuring that these resources are cleaned up appropriately. - The cleanup thread runs at regular intervals, ensuring that any RemoteFileSystem object that is no longer in use is safely removed along with its associated FileSystem resources.
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 freeto 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.
Proposed changes
The RemoteFSPhantomManager class is responsible for managing phantom references of RemoteFileSystem objects, ensuring that the associated FileSystem resources are automatically cleaned up when RemoteFileSystem objects are garbage collected.
Key features:
Resource Management: The class maintains a map between phantom references and their corresponding FileSystem objects, ensuring that these resources are cleaned up appropriately.