Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/2732#discussion_r89135855 --- Diff: flink-scala/src/main/scala/org/apache/flink/api/scala/ExecutionEnvironment.scala --- @@ -652,6 +652,34 @@ class ExecutionEnvironment(javaEnv: JavaEnv) { } /** + * Triggers the program execution. The environment will execute all parts of the program that have + * resulted in a "sink" operation. Sink operations are for example printing results + * [[DataSet.print]], writing results (e.g. [[DataSet.writeAsText]], [[DataSet.write]], or other + * generic data sinks created with [[DataSet.output]]. + * + * The program execution will be logged and displayed with a generated default name. + * + * @return The job client of the execution to interact with the running job. + */ + def executeWithControl(): JobClient = { + javaEnv.executeWithControl() + } + + /** + * Triggers the program execution. The environment will execute all parts of the program that have + * resulted in a "sink" operation. Sink operations are for example printing results + * [[DataSet.print]], writing results (e.g. [[DataSet.writeAsText]], [[DataSet.write]], or other + * generic data sinks created with [[DataSet.output]]. + * + * The program execution will be logged and displayed with the given name. + * + * @return The job client of the execution to interact with the running job. --- End diff -- Ay!
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---