[
https://issues.apache.org/jira/browse/FLINK-20626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhu Zhu closed FLINK-20626.
---------------------------
Resolution: Fixed
Fixed via
master: 58cc2a5fbd419d6a9e4f9c251ac01ecf59a8c5a2
release-1.12: f1fe8b3c446065b1276a98ba8b905f2f6c2cb2e0
release-1.11: 52f9bd93fed764309010f56680fb6d05e489f098
> Canceling a job when it is failing will result in job hanging in CANCELING
> state
> --------------------------------------------------------------------------------
>
> Key: FLINK-20626
> URL: https://issues.apache.org/jira/browse/FLINK-20626
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination
> Affects Versions: 1.12.0, 1.11.2
> Reporter: Zhu Zhu
> Assignee: Zhu Zhu
> Priority: Critical
> Labels: pull-request-available
> Fix For: 1.13.0, 1.11.4, 1.12.1
>
>
> If user manually cancels a job when the job is failing(here failing means the
> job encounters unrecoverable failure and is about to fail), the job will
> hang in CANCELING state and cannot terminate. The cause is that
> DefaultScheduler currently will always try to transition from `FAILING` to
> `FAILED` to terminate the job. However, job canceling will change job status
> to `CANCELING` so that the transition to `FAILED` will not success.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)