[
https://issues.apache.org/jira/browse/FLINK-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047505#comment-14047505
]
ASF GitHub Bot commented on FLINK-893:
--------------------------------------
GitHub user markus-h opened a pull request:
https://github.com/apache/incubator-flink/pull/50
[FLINK-893] Inconsistent Iteration Step Function gives nonesense error
message
I adjusted the error message.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markus-h/incubator-flink
iteration_translation_exception
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-flink/pull/50.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #50
----
commit 34a6f87055c4ee3453620ea287504dd43882833f
Author: Markus Holzemer <[email protected]>
Date: 2014-06-30T09:49:48Z
adjusted error message when encountering a translation failure for
iterations
----
> Inconsistent Iteration Step Function gives nonesense error message
> ------------------------------------------------------------------
>
> Key: FLINK-893
> URL: https://issues.apache.org/jira/browse/FLINK-893
> Project: Flink
> Issue Type: Bug
> Reporter: GitHub Import
> Assignee: Markus Holzemer
> Labels: github-import
> Fix For: pre-apache
>
>
> ```
> ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
> DataSet<String> input = env.readTextFile(IN_FILE).name("source1");
>
> IterativeDataSet<String> iteration1 = input.iterate(100);
> IterativeDataSet<String> iteration2 = input.iterate(20);
>
> iteration1.closeWith(iteration2.map(new IdentityMapper<String>())).print();
> ```
> The code if wrong (closing iteration 1 with the step function of iteration
> 2), but it should not give the unsupported operation exception.
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/stratosphere/stratosphere/issues/893
> Created by: [StephanEwen|https://github.com/StephanEwen]
> Labels:
> Created at: Mon Jun 02 03:32:18 CEST 2014
> State: open
--
This message was sent by Atlassian JIRA
(v6.2#6252)