apache / apache/beam

CombineGlobally translation is risky and not very performant.

Open
#19,650 0 comments 0 reactions 0 assignees View on GitHub
improvement P3 runners spark
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

In combine globally:
```

Iterable> output =
sparkCombineFn.extractOutput(maybeAccumulated.get());

outRdd =
context
.getSparkContext()
.parallelize(CoderHelpers.toByteArrays(output,
wvoCoder))
.map(CoderHelpers.fromByteFunction(wvoCoder));

```

=\> risk of OOM in the list, get data to a single worker (the driver)

Imported from Jira [BEAM-7647](https://issues.apache.org/jira/browse/BEAM-7647). Original Jira may contain additional context.
Reported by: echauchot.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.