CombineGlobally translation is risky and not very performant.
Open
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
Assessment
This issue has not been assessed yet.