[ 
https://issues.apache.org/jira/browse/FLINK-28457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17566630#comment-17566630
 ] 

Yun Gao commented on FLINK-28457:
---------------------------------

Merged on master via  ed236ee19d7bcaa0e09eff5875880e8e6326acaf.

> Flink add JobStatusHook support
> -------------------------------
>
>                 Key: FLINK-28457
>                 URL: https://issues.apache.org/jira/browse/FLINK-28457
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: tartarus
>            Assignee: 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)

Reply via email to