You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Bastian Köcher (JIRA)" <ji...@apache.org> on 2014/07/08 15:57:06 UTC
[jira] [Commented] (FLINK-1008) createProgramPlan() throws
exception
[ https://issues.apache.org/jira/browse/FLINK-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054950#comment-14054950 ]
Bastian Köcher commented on FLINK-1008:
---------------------------------------
getExecutionPlan() also throws an exception, but prints still a plan.
> createProgramPlan() throws exception
> ------------------------------------
>
> Key: FLINK-1008
> URL: https://issues.apache.org/jira/browse/FLINK-1008
> Project: Flink
> Issue Type: Bug
> Components: Java API
> Reporter: Bastian Köcher
>
> After calling createProgramPlan() I get the following exception:
> java.lang.RuntimeException: No data sinks have been created yet. A program needs at least one sink that consumes data. Examples are writing the data set or printing it.
> at eu.stratosphere.api.java.ExecutionEnvironment.createProgramPlan(ExecutionEnvironment.java:618)
> at eu.stratosphere.api.java.LocalEnvironment.execute(LocalEnvironment.java:51)
> at eu.stratosphere.api.java.ExecutionEnvironment.execute(ExecutionEnvironment.java:516)
> The plan execute and we also have data sinks, so the error is really confusing.
--
This message was sent by Atlassian JIRA
(v6.2#6252)