Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-23161

Cannot have more than one execute() or executeAsync() call in a single environment.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.13.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                roberto_hashioka@hotmail.com roberto hashioka
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: