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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.13.0
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment