Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.2
-
None
-
None
-
Ubuntu server 12.04.5 64 bit
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b26)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
Description
If a streaming job failed during startup (in my case, due to lack of network buffers), all the tasks are being cancelled before they started. This causes many instances of the following exception:
2016-09-18 14:17:12,177 ERROR org.apache.flink.streaming.runtime.tasks.StreamTask - Error during cleanup of stream task java.lang.NullPointerException at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask.cleanup(OneInputStreamTask.java:73) at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:323) at org.apache.flink.runtime.taskmanager.Task.run(Task.java:584) at java.lang.Thread.run(Thread.java:745)