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 2016/01/18 11:39:39 UTC

[jira] [Commented] (FLINK-2522) Integrate Streaming Api into Flink-scala-shell

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

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

Github user mxm commented on the pull request:

    https://github.com/apache/flink/pull/1412#issuecomment-172493786
  
    The context environment is set in the `ScalaShellRemoteEnvironment` to disable creation of new environments by the user. This is done when you first create the batch environment. Then you create the `ScalaShellRemoteStreamEnvironment` which internally creates the `StreamRemoteEnvironment` which fails because the context environment is already set.
    
    You may work around this by setting the context environment (and thereby disabling creation of other environments) **after** you have created both of your shell environments.


> Integrate Streaming Api into Flink-scala-shell
> ----------------------------------------------
>
>                 Key: FLINK-2522
>                 URL: https://issues.apache.org/jira/browse/FLINK-2522
>             Project: Flink
>          Issue Type: Improvement
>          Components: Scala Shell
>            Reporter: Nikolaas Steenbergen
>            Assignee: Nikolaas Steenbergen
>
> startup scala shell with "-s" or "-streaming" flag to use the streaming api



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)