You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ingo Bürk (Jira)" <ji...@apache.org> on 2021/06/30 12:40:00 UTC

[jira] [Commented] (FLINK-23161) Cannot have more than one execute() or executeAsync() call in a single environment.

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

Ingo Bürk commented on FLINK-23161:
-----------------------------------

Thanks for opening this issue, [~roberto_hashioka@hotmail.com]. It seems that this isn't a bug report but rather a question. Can you please direct it to the user mailing list (see [https://flink.apache.org/community.html#mailing-lists)?] Thank you!

> Cannot have more than one execute() or executeAsync() call in a single environment.
> -----------------------------------------------------------------------------------
>
>                 Key: FLINK-23161
>                 URL: https://issues.apache.org/jira/browse/FLINK-23161
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream, Table SQL / API
>    Affects Versions: 1.13.0
>            Reporter: roberto hashioka
>            Priority: Major
>
> My Job has both DataStream and SQL, and both of them need the execute API to run the task (StreamExecutionEnvironment.execute and StreamTableEnvironment.execute). The Flink run work well, but restApi can only work with one of them, have both of them may cause exception "Cannot have more than one execute() or executeAsync() call in a single environment". It seems that restApi can only support one execute in job. 
>  
> Is there a way to workaround this limitation, but still using the API to submit the job?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)