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

[#5361] improvment(hadoop-catalog): Introduce timeout mechanism to get Hadoop File System. #6221

Conversation

github-actions[bot]
Copy link

What changes were proposed in this pull request?

Introduce a timeout mechanism when getting a Hadoop FileSystem instance.

Why are the changes needed?

Cloud filesystem like S3 and OSS(10 minutes) has a very long connection and can't be tune by configuration, this will cause deadlock as it will hold the tree lock for a long time

Fix: #5361
Fix: #6156

Does this PR introduce any user-facing change?

N/A.

How was this patch tested?

Existing test.

…t Hadoop File System. (#5406)

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

Introduce a timeout mechanism when getting a Hadoop FileSystem instance.

### Why are the changes needed?


Cloud filesystem like S3 and OSS(10 minutes) has a very long connection
and can't be tune by configuration, this will cause deadlock as it will
hold the tree lock for a long time

Fix: #5361 
Fix: #6156

### Does this PR introduce _any_ user-facing change?

N/A.

### How was this patch tested?

Existing test.
@FANNG1 FANNG1 merged commit 75d7d38 into branch-0.8 Jan 14, 2025
28 checks passed
@jerryshao jerryshao deleted the cherry-pick-branch-0.8-63f9ae6b2dbe777b79157fa5e3df62f0aa9e70f2 branch January 14, 2025 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants