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

FLUME-3347:Direct buffer memory causes sink thread to die #310

Closed
wants to merge 1 commit into from

Conversation

lightzhao
Copy link

When the java.lang.OutOfMemoryError: Direct buffer memory exception occurs in the hdfsSink thread, the exception is thrown to the SinkRunner thread, but the SinkRunner thread does not catch the Throwable exception, causing the hdfsSink thread to die。

@lightzhao
Copy link
Author

exception

@lightzhao
Copy link
Author

@mpercy Can you help me review?

@lightzhao
Copy link
Author

@bessbd can you please review?

@bessbd
Copy link
Member

bessbd commented Dec 7, 2019

Thank you for the patch, @lightzhao !

The idea for this change sounds good. Unfortunately, without the right justification, this code probably should not be merged. Can you please think of an alternative improvement?

@lightzhao lightzhao closed this Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants