You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "roberto hashioka (Jira)" <ji...@apache.org> on 2021/06/25 15:36:00 UTC

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

roberto hashioka created FLINK-23161:
----------------------------------------

             Summary: 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
    Affects Versions: 1.13.0
            Reporter: roberto hashioka


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)