[
https://issues.apache.org/jira/browse/FLINK-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934967#comment-14934967
]
ASF GitHub Bot commented on FLINK-2761:
---------------------------------------
Github user StephanEwen commented on the pull request:
https://github.com/apache/flink/pull/1180#issuecomment-144016570
Looks good, will merge this!
> 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
> Assignee: Sachin Goel
>
> 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)