You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2015/05/13 01:17:00 UTC
[jira] [Resolved] (FLINK-1959) Accumulators BROKEN after
Partitioning
[ https://issues.apache.org/jira/browse/FLINK-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Ewen resolved FLINK-1959.
---------------------------------
Resolution: Pending Closed
Fix Version/s: (was: master)
0.9
Assignee: Stephan Ewen
Fixed in 73493335f4dbecbb4f1f9f954b08534a5e35ca90.
Thank you for the debugging help!
> Accumulators BROKEN after Partitioning
> --------------------------------------
>
> Key: FLINK-1959
> URL: https://issues.apache.org/jira/browse/FLINK-1959
> Project: Flink
> Issue Type: Bug
> Components: Examples
> Affects Versions: master
> Reporter: mustafa elbehery
> Assignee: Stephan Ewen
> Priority: Critical
> Fix For: 0.9
>
>
> while running the Accumulator example in https://github.com/Elbehery/flink/blob/master/flink-examples/flink-java-examples/src/main/java/org/apache/flink/examples/java/relational/EmptyFieldsCountAccumulator.java,
> I tried to alter the data flow with "PartitionByHash" function before applying "Filter", and the resulted accumulator was NULL.
> By Debugging, I could see the accumulator in the RunTime Map. However, by retrieving the accumulator from the JobExecutionResult object, it was NULL.
> The line caused the problem is "file.partitionByHash(1).filter(new EmptyFieldFilter())" instead of "file.filter(new EmptyFieldFilter())"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)