You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2015/09/24 17:29:04 UTC
[jira] [Created] (FLINK-2761) Prevent instantiation of new
ExecutionEnvironments in the Scala Shell
Stephan Ewen created FLINK-2761:
-----------------------------------
Summary: Prevent instantiation of new ExecutionEnvironments in the Scala Shell
Key: FLINK-2761
URL: https://issues.apache.org/jira/browse/FLINK-2761
Project: Flink
Issue Type: Improvement
Components: Scala Shell
Affects Versions: 0.10
Reporter: Stephan Ewen
When someone mistakenly creates a new ExecutionEnvironment in the Scala Shell, the programs don't work. The Scala Shell should prevent new ExecutionEnvironment instantiations.
That can be done by setting a context environment factory that throws an error when attempting to create a new environment.
See here for a user with that problem:
http://stackoverflow.com/questions/32763052/flink-datasources-outputs-caused-an-error-could-not-read-the-user-code-wrappe/32765236#32765236
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)