You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2014/07/03 12:38:24 UTC

[jira] [Resolved] (FLINK-893) Inconsistent Iteration Step Function gives nonesense error message

     [ https://issues.apache.org/jira/browse/FLINK-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Metzger resolved FLINK-893.
----------------------------------

    Resolution: Fixed

Fixed in https://github.com/apache/incubator-flink/commit/8a8060eaa3a12703b594d4f4c581fa14bd846b19. Thank you.

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