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

Confusing sharing of StreamExecutionEnvironment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • None
    • None

    Description

      In the StreamExecutionEnvironment, the environment is once created and then shared with a static variable to all successive calls to getExecutionEnvironment(). But it can be overridden by calls to createLocalEnvironment() and createRemoteEnvironment().

      This seems a bit un-intuitive, and probably creates confusion when dispatching multiple streaming jobs from within the same JVM.

      Why is it even necessary to cache the "current" execution environment?

      Attachments

        Activity

          People

            Unassigned Unassigned
            sewen Stephan Ewen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: