[
https://issues.apache.org/jira/browse/FLINK-27377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17528052#comment-17528052
]
Guowei Ma commented on FLINK-27377:
-----------------------------------
# Thanks [~yittg] for your detailed explanation and investigation !
# You also could try the partition commit, which might only write a _Success
file [1].
BTW IMHO, we should move forward first. It means that we should update table
file sink to the new sink mechanism.
[1]
https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/connectors/table/filesystem/#partition-commit
> Job master blocks on marking vertex finished
> --------------------------------------------
>
> Key: FLINK-27377
> URL: https://issues.apache.org/jira/browse/FLINK-27377
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / FileSystem, Runtime / Coordination
> 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)