Hi, I’m running DataSet jobs with the K8s operator...
# troubleshooting
b
Hi, I’m running DataSet jobs with the K8s operator, using native mode with a FlinkDeployment/application cluster. One of the jobs fails consistently after one of its tasks finish and is unregistered. I’ve reduced the example to 1 TM with 1 task slot. • After successfully finishing the task
0a46beeec2285dc04d2caf2d1fd3b061
, why doesn’t the TM get a new task from the JM? Why are they both hanging? • What could be triggering this shutdown? (I realize this may not be flink-related, but I can’t find another source for this sigterm) I’m running with the official 1.15 image and the 1.6.0 version of the operator. Logs in 🧵
TM:
Copy code
2024-01-08 18:19:41,430 INFO  org.apache.flink.runtime.taskmanager.Task                    [] - CHAIN DataSource (at createInput(ExecutionEnvironment.java:655) (org.apache.flink.formats.avro.AvroInputFormat)) -> Map (Key Extractor) (1/1)#0 (0a46beeec2285dc04d2caf2d1fd3b061) switched from RUNNING to FINISHED.
2024-01-08 18:19:41,430 INFO  org.apache.flink.runtime.taskmanager.Task                    [] - Freeing task resources for CHAIN DataSource (at createInput(ExecutionEnvironment.java:655) (org.apache.flink.formats.avro.AvroInputFormat)) -> Map (Key Extractor) (1/1)#0 (0a46beeec2285dc04d2caf2d1fd3b061).
2024-01-08 18:19:41,432 INFO  org.apache.flink.runtime.taskexecutor.TaskExecutor           [] - Un-registering task and sending final execution state FINISHED to JobManager for task CHAIN DataSource (at createInput(ExecutionEnvironment.java:655) (org.apache.flink.formats.avro.AvroInputFormat)) -> Map (Key Extractor) (1/1)#0 0a46beeec2285dc04d2caf2d1fd3b061.
2024-01-08 18:20:19,770 INFO  org.apache.flink.kubernetes.taskmanager.KubernetesTaskExecutorRunner [] - RECEIVED SIGNAL 15: SIGTERM. Shutting down as requested.
JM:
Copy code
2024-01-08 18:19:37,585 INFO  org.apache.flink.api.common.io.LocatableInputSplitAssigner   [] - Assigning remote split to host 10.100.240.2
2024-01-08 18:19:41,438 INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph       [] - CHAIN DataSource (at createInput(ExecutionEnvironment.java:655) (org.apache.flink.formats.avro.AvroInputFormat)) -> Map (Key Extractor) (1/1) (0a46beeec2285dc04d2caf2d1fd3b061) switched from RUNNING to FINISHED.
2024-01-08 18:20:19,813 INFO  org.apache.flink.runtime.resourcemanager.active.ActiveResourceManager [] - Closing TaskExecutor connection co-author-similarities-20240107-1704721114-taskmanager-1-1 because: The TaskExecutor is shutting down.
2024-01-08 18:20:19,815 INFO  org.apache.flink.runtime.resourcemanager.active.ActiveResourceManager [] - Requesting new worker with resource spec WorkerResourceSpec {cpuCores=4.0, taskHeapSize=3.141gb (3372220356 bytes), taskOffHeapSize=0 bytes, networkMemSize=694.400mb (728131184 bytes), managedMemSize=2.713gb (2912524736 bytes), numSlots=1}, current pending count: 1.