Github user mxm commented on a diff in the pull request: https://github.com/apache/flink/pull/934#discussion_r35635471 --- Diff: flink-tests/src/test/java/org/apache/flink/test/misc/MiscellaneousIssuesITCase.java --- @@ -174,4 +177,52 @@ public void flatMap(Long value, Collector<Long> out) { fail(e.getMessage()); } } + + @Test + public void testOversizedAccumulatorsAtTaskManagers() { + try { + + ExecutionEnvironment env = + ExecutionEnvironment.createRemoteEnvironment("localhost", cluster.getJobManagerRPCPort()); + + int noOfParallelism = 5; + int longsPerTask = 1200000; + + env.setParallelism(noOfParallelism); + env.getConfig().disableSysoutLogging(); + + DataSet<Long> bigEnough = env.generateSequence(1, noOfParallelism * longsPerTask); + long theCount = bigEnough.collect().size(); + + assertEquals(noOfParallelism * longsPerTask, theCount); --- End diff -- You could also check the values of the oversized accumulators here.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---