[ https://issues.apache.org/jira/browse/FLINK-19069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208065#comment-17208065 ]
Robert Metzger commented on FLINK-19069: ---------------------------------------- Based on the discussion in the PR, we decided not to address this issue in Flink 1.12. We'll soon introduce a new Sink API, that will not rely on running user code on the master. Closing ticket. > finalizeOnMaster takes too much time and client timeouts > -------------------------------------------------------- > > Key: FLINK-19069 > URL: https://issues.apache.org/jira/browse/FLINK-19069 > Project: Flink > Issue Type: Bug > Components: Runtime / Coordination > Affects Versions: 1.9.0, 1.10.0, 1.11.0, 1.12.0 > Reporter: Jiayi Liao > Assignee: Jiayi Liao > Priority: Critical > Labels: pull-request-available > Fix For: 1.12.0, 1.10.3, 1.11.3 > > > Currently we execute {{finalizeOnMaster}} in JM's main thread, which may > stuck the JM for a very long time and client timeouts eventually. > For example, we'd like to write data to HDFS and commit files on JM, which > takes more than ten minutes to commit tens of thousands files. -- This message was sent by Atlassian Jira (v8.3.4#803005)