You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/07/08 10:11:00 UTC
[jira] [Updated] (FLINK-28457) Flink add JobStatusHook support
[ https://issues.apache.org/jira/browse/FLINK-28457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-28457:
-----------------------------------
Labels: pull-request-available (was: )
> Flink add JobStatusHook support
> -------------------------------
>
> Key: FLINK-28457
> URL: https://issues.apache.org/jira/browse/FLINK-28457
> Project: Flink
> Issue Type: Sub-task
> Reporter: tartarus
> Priority: Major
> Labels: pull-request-available
>
> {code:java}
> /**
> * Hooks provided by users on job status changing.
> */
> @Internal
> public interface JobStatusHook extends Serializable {
> /** When Job become CREATED status. It would only be called one time. */
> void onCreated(JobID jobId);
>
> /** When job finished successfully. */
> void onFinished(JobID jobId);
> /** When job failed finally. */
> void onFailed(JobID jobId, Throwable throwable);
> /** When job get canceled by users. */
> void onCanceled(JobID jobId);
> } {code}
> Introduce JM-side execution state change hook
--
This message was sent by Atlassian Jira
(v8.20.10#820010)