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

[jira] [Commented] (FLINK-27377) Job master blocks on marking vertex finished

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

Guowei Ma commented on FLINK-27377:
-----------------------------------

Hi, [~yittg]

Thanks for your detail explanation. 

Do you have already some investigation about why the `finalizeGlobal` block?  And would you like to share the sql about how you use/configure the Table File sink. AFAIK the table file sink only write a _SUCCESS file, which should not block very long time.  If we could find the root cause of the block and resolve it I think it might be the most easy way. 

> Job master 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: Minor
>              Labels: pull-request-available
>
> 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 master can not respond any new requests until {{JobMaster#updateTaskExecutionState}} is complete.



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