Skip to content

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