You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yi Tang (Jira)" <ji...@apache.org> on 2022/04/25 04:46:00 UTC

[jira] [Comment Edited] (FLINK-27377) Job manager blocks on marking vertex finished

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

Yi Tang edited comment on FLINK-27377 at 4/25/22 4:45 AM:
----------------------------------------------------------

I think we can fix it by invoking {{schedulerNG#updateTaskExecutionState}} asynchronously, in {{JobManster#updateTaskExecutionState}}.

cc [~trohrmann], you can assign it to me if it sounds reasonable.



was (Author: yittg):
I think we can fix it by invoking {{schedulerNG#updateTaskExecutionState}} asynchronously, in {{JobManster#updateTaskExecutionState}}.

cc [~trohrmann]


> Job manager blocks on marking vertex finished
> ---------------------------------------------
>
>                 Key: FLINK-27377
>                 URL: https://issues.apache.org/jira/browse/FLINK-27377
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Yi Tang
>            Priority: Major
>
> I have a case using FileSystem as batch sink, it will commit files by {{FinalizeOnMaster#finalizeGlobal}} while updating state from Running to Finished.
> When {{FinalizeOnMaster#finalizeGlobal}} method is blocked, the {{JobMaster#updateTaskExecutionState}} will also be blocked. Then the job manager can not respond any new requests until {{JobMaster#updateTaskExecutionState}} is complete.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)