You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2015/03/20 18:32:38 UTC

[jira] [Created] (FLINK-1765) Reducer grouping is skippted when parallelism is one

Stephan Ewen created FLINK-1765:
-----------------------------------

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