flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolaas Steenbergen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2522) Integrate Streaming Api into Flink-scala-shell
Date Thu, 15 Oct 2015 14:56:05 GMT

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

Nikolaas Steenbergen commented on FLINK-2522:
---------------------------------------------

I'm working on writing a test case for the scala shell streaming, where it should create a
local Streaming environment (by itself).
However if I run this test it gives me:
{code}
org.apache.flink.api.common.InvalidProgramException: The RemoteEnvironment cannot be used
when submitting a program through a client, or running in a TestEnvironment context.
at org.apache.flink.streaming.api.environment.RemoteStreamEnvironment.<init>(RemoteStreamEnvironment.java:132)
at org.apache.flink.streaming.api.environment.RemoteStreamEnvironment.<init>(RemoteStreamEnvironment.java:103)
at org.apache.flink.streaming.api.environment.RemoteStreamEnvironment.<init>(RemoteStreamEnvironment.java:80)
...
{code}

Am I forced to just skip the test for the local streaming scala shell ? 
Or is there a workaround for this ? 

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

Mime
View raw message