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

Handling exceptions while closing BeamSink #294

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

KKcorps
Copy link
Contributor

@KKcorps KKcorps commented Apr 10, 2019

Currently Flink is not able to close the BeamSink properly when Tranquility isn't initialised properly in open method. The initialisation can be prohibited due to NoClassDefFoundError in usual scenarios due to dependency conflicts. As a result Flink throws

ERROR org.apache.flink.streaming.runtime.tasks.StreamTask - Error during disposal of stream operator.
java.util.NoSuchElementException: None.get

This pull request catches this error and simply logs it.

@KKcorps
Copy link
Contributor Author

KKcorps commented May 29, 2019

Hi
In absence of this exception handling the tranquilizer is not able to close properly and leads to unexpected failures when run inside docker or yarn

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.

1 participant