You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/11/28 16:36:20 UTC

[GitHub] [flink] TisonKun commented on a change in pull request #10346: [FLINK-14972] Make Remote(Stream)Environment use Executors.

TisonKun commented on a change in pull request #10346: [FLINK-14972] Make Remote(Stream)Environment use Executors.
URL: https://github.com/apache/flink/pull/10346#discussion_r351871261
 
 

 ##########
 File path: flink-scala-shell/src/main/java/org/apache/flink/api/java/ScalaShellRemoteEnvironment.java
 ##########
 @@ -19,27 +19,42 @@
  * limitations under the License.
  */
 
+import org.apache.flink.api.common.InvalidProgramException;
 import org.apache.flink.api.common.JobExecutionResult;
 import org.apache.flink.api.common.Plan;
 import org.apache.flink.api.common.PlanExecutor;
 import org.apache.flink.api.scala.FlinkILoop;
 import org.apache.flink.configuration.Configuration;
 
+import java.io.File;
 import java.net.MalformedURLException;
 import java.net.URL;
 import java.util.ArrayList;
+import java.util.Collections;
 import java.util.List;
 
 /**
- * Special version of {@link org.apache.flink.api.java.RemoteEnvironment} that has a reference
+ * Special version of {@link org.apache.flink.api.java.ExecutionEnvironment} that has a reference
  * to a {@link org.apache.flink.api.scala.FlinkILoop}. When execute is called this will
  * use the reference of the ILoop to write the compiled classes of the current session to
  * a Jar file and submit these with the program.
  */
-public class ScalaShellRemoteEnvironment extends RemoteEnvironment {
+public class ScalaShellRemoteEnvironment extends ExecutionEnvironment {
 
 Review comment:
   Aha, this is what I want to do in [FLINK-14629](https://issues.apache.org/jira/browse/FLINK-14629). Thanks for picking it up.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services