You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/09/25 10:56:04 UTC

[jira] [Commented] (FLINK-2761) Prevent instantiation of new ExecutionEnvironments in the Scala Shell

    [ https://issues.apache.org/jira/browse/FLINK-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907822#comment-14907822 ] 

ASF GitHub Bot commented on FLINK-2761:
---------------------------------------

GitHub user sachingoel0101 opened a pull request:

    https://github.com/apache/flink/pull/1180

    [FLINK-2761][scala-shell]Prevent creation of new environment in Scala shell

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sachingoel0101/flink flink-2761

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1180.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1180
    
----
commit 38f162dc9cf8adbbc5cc5e43de5f3179c6ddb8e5
Author: Sachin Goel <sa...@gmail.com>
Date:   2015-09-25T08:13:45Z

    [FLINK-2761][scala-shell]Prevent creation of new environment in Scala Shell

----


> 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)