GitHub user chermenin opened a pull request: https://github.com/apache/flink/pull/2849
[FLINK-4631] Fixed stream task that was interrupted before it was initialized. I think this is the best solution for this issue - to check that initialization was finished before call `cleanup` method. May be some tests is needed to check this piece of code. You can merge this pull request into a Git repository by running: $ git pull https://github.com/chermenin/flink flink-4631 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2849.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2849 ---- commit ea478999b4cecab9603ba1f58fe445ffd0fd8010 Author: Aleksandr Chermenin <aleksandr_cherme...@epam.com> Date: 2016-11-22T14:58:51Z [FLINK-4631] Restored OneInputStreamTask class. commit c153f1b9e75e44def781099b1fd168c6960b01cc Author: Aleksandr Chermenin <aleksandr_cherme...@epam.com> Date: 2016-11-22T15:03:40Z [FLINK-4631] Fixed stream task. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---