[
https://issues.apache.org/jira/browse/FLINK-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198584#comment-14198584
]
Stefan Bunk edited comment on FLINK-1008 at 11/5/14 4:46 PM:
-------------------------------------------------------------
I just ran into this issue, and could provide a PR.
Please have a look at [my
commit|https://github.com/knub/incubator-flink/commit/29b4312adf27b2b1c17bfa98ab3f1434876fabe9].
Feedback is welcome, as this would be my first PR for Flink.
was (Author: knub):
I just ran into this issue, and could provide a PR.
Please have a look at [my
commit|https://github.com/knub/incubator-flink/commit/d115a3b8337e37e4328ac34bab71e128e12401ab].
Feedback is welcome, as this would be my first PR for Flink.
> 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
> Attachments: impro3-ss14-stratosphere.zip
>
>
> 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.3.4#6332)