[
https://issues.apache.org/jira/browse/FLINK-16533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17057845#comment-17057845
]
Aljoscha Krettek edited comment on FLINK-16533 at 3/12/20, 11:46 AM:
---------------------------------------------------------------------
I don't think you need a new executor, just using the executors for executing
the plan should be enough. The executors are exactly the abstraction for other
environments to execute things. There is no need anymore to try and use
"underlying" environments.
was (Author: aljoscha):
I don't think you need a new executor, just using the executors for executing
the plan should be enough.
> ExecutionEnvironment supports execution of existing plan
> --------------------------------------------------------
>
> Key: FLINK-16533
> URL: https://issues.apache.org/jira/browse/FLINK-16533
> Project: Flink
> Issue Type: Sub-task
> Components: Client / Job Submission
> Reporter: godfrey he
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, {{ExecutionEnvironment}} only supports executing the plan
> generated by self.
> FLIP-84 proposes {{TableEnvironment}} can only trigger the table program and
> the {{StreamExecutionEnvironment}}/{{ExecutionEnvironment}} can only trigger
> {{DataStream}}/{{DataSet}} program. This requires that
> {{ExecutionEnvironment}} can execute the plan generated by
> {{TableEnvironment}}. We propose to add two methods in
> {{ExecutionEnvironment}}: (which are similar to
> {{StreamExecutionEnvironment}}#execute(StreamGraph) and
> {{StreamExecutionEnvironment}}#executeAsync(StreamGraph))
> {code:java}
> public class ExecutionEnvironment {
> @Internal
> public JobExecutionResult execute(Plan plan) throws Exception {
> .....
> }
> @Internal
> public JobClient executeAsync(Plan plan) throws Exception {
> .....
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)