flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-1765) Reducer grouping is skippted when parallelism is one
Date Fri, 20 Mar 2015 17:32:38 GMT
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)

Mime
View raw message