flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2761) Prevent instantiation of new ExecutionEnvironments in the Scala Shell
Date Fri, 25 Sep 2015 08:56:04 GMT

    [ 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:


    [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:


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 <sachingoel0101@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

View raw message