Skip to content

Conversation

@yegangy0718
Copy link
Contributor

@yegangy0718 yegangy0718 commented Oct 9, 2023

it isn't a clean back port because OperatorCoordinator gets changed in Flink-runtime 1.16

…dinator to aggregate data statistics from operator subtasks
@github-actions github-actions bot added the flink label Oct 9, 2023
}

@Override
public void subtaskFailed(int subtask, @Nullable Throwable reason) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the interface gets changed to public void executionAttemptFailed(int subtask, int attemptNumber, @Nullable Throwable reason) in Flink 1.16

}

@Override
public void subtaskReady(int subtask, SubtaskGateway gateway) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the interface gets changed to public void executionAttemptReady(int subtask, int attemptNumber, SubtaskGateway gateway) in Flink 1.16

}

@Override
public void subtaskReset(int subtask, long checkpointId) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the interface is unchanged. But the subtaskGateway in Flink 1.16 is Map<Integer, SubtaskGateway>[] gateways who map key is attempt num, while in Flink 1.15 we don't need to track the attemp num. Thus this is nothing we need to do in subtaskRest.

@stevenzwu stevenzwu merged commit 6d3b0b7 into apache:main Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants