Caroline McKee
04/05/2024, 5:30 PMres_table = (penalties_table
.window(Tumble.over(lit(1).milli).on(col('rowtime1')).alias("w"))
.group_by(col("frame_time"), col("id1"), col(id2"), col("w"))
.select(col("frame_time"), col("penalty").sum.alias("total_penalty"), col("id1"), col("id2")))
These are the metrics for the subtask after failure. Increasing the total taskmanager flink. memory does help, ie. the job will run for longer before failure, but it still has the same pattern of slowing down and eventually failing:
{
"id": "3bd0d25bb596363b287ebce5bfa9f22b",
"name": "GroupWindowAggregate[13] -> Calc[14]",
"maxParallelism": 128,
"parallelism": 1,
"status": "FAILED",
"start-time": 1712255215749,
"end-time": 1712256000278,
"duration": 784529,
"tasks": {
"FINISHED": 0,
"DEPLOYING": 0,
"CANCELED": 0,
"CREATED": 0,
"CANCELING": 0,
"FAILED": 1,
"RUNNING": 0,
"RECONCILING": 0,
"SCHEDULED": 0,
"INITIALIZING": 0
},
"metrics": {
"read-bytes": 76581735,
"read-bytes-complete": true,
"write-bytes": 15695872,
"write-bytes-complete": true,
"read-records": 860344,
"read-records-complete": true,
"write-records": 214875,
"write-records-complete": true,
"accumulated-backpressured-time": 0,
"accumulated-idle-time": 815152,
"accumulated-busy-time": 0
}
}
I am confused because these metrics seem to indicate that the subtask is idle the entire time, yet the pyflink script does yield an output for a while (subsequent tasks in the job graph are not idle the whole time).
Can anyone offer any insight? Thanks in advance!