[
https://issues.apache.org/jira/browse/FLINK-14916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16982101#comment-16982101
]
Zili Chen commented on FLINK-14916:
-----------------------------------
Yes correct. A similar scenario is {{RestClusterClient}} which uses
{{Executors.newFixedThreadPool}} for async operations. We can also instance an
{{ExecutorService}} bound to the lifecycle of {{Executor}}. Otherwise trying to
figure out a reachable reasonable IO executor in context.
> Asynchronously deploy cluster in AbstractJobClusterExecutor#execute
> -------------------------------------------------------------------
>
> Key: FLINK-14916
> URL: https://issues.apache.org/jira/browse/FLINK-14916
> Project: Flink
> Issue Type: Sub-task
> Components: Client / Job Submission
> Affects Versions: 1.10.0
> Reporter: Zili Chen
> Assignee: Kostas Kloudas
> Priority: Major
>
> https://github.com/apache/flink/pull/10251#discussion_r348933298
> since {{execute}} returns {{CompletableFuture<JobClient>}} we'd better run
> deployment action asynchronously.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)