flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gyula Fora (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLINK-1765) Reducer grouping is skippted when parallelism is one
Date Fri, 20 Mar 2015 20:25:38 GMT

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

Gyula Fora resolved FLINK-1765.
-------------------------------
    Resolution: Fixed

It was an error in the GroupedDataStream implementation that never appeared without chaining.

https://github.com/apache/flink/commit/0619c0526387f4cc7d81537d17ae42ee6196edbd

> Reducer grouping is skippted when parallelism is one
> ----------------------------------------------------
>
>                 Key: FLINK-1765
>                 URL: https://issues.apache.org/jira/browse/FLINK-1765
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 0.9
>            Reporter: Stephan Ewen
>            Assignee: Gyula Fora
>             Fix For: 0.9
>
>
> This program (not the parallelism) incorrectly runs a non grouped reduce and fails with
a NullPointerException.
> {code}
> StreamExecutionEnvironment env = ...
> env.setDegreeOfParallelism(1);
> DataStream<String> stream = env.addSource(...);
> stream
>     .filter(...)
>     .map(...)
>     .groupBy("someField")
>     .reduce(new ReduceFunction() {...} )
>     .addSink(...);
> env.execute();
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message