diff options
author | Marcelo Vanzin <vanzin@cloudera.com> | 2017-01-25 08:18:41 -0600 |
---|---|---|
committer | Tom Graves <tgraves@yahoo-inc.com> | 2017-01-25 08:18:41 -0600 |
commit | 76db394f2baedc2c7b7a52c05314a64ec9068263 (patch) | |
tree | 6a19097f99077145c34441af5322005259303c41 /mllib/src | |
parent | 3fdce814348fae34df379a6ab9655dbbb2c3427c (diff) | |
download | spark-76db394f2baedc2c7b7a52c05314a64ec9068263.tar.gz spark-76db394f2baedc2c7b7a52c05314a64ec9068263.tar.bz2 spark-76db394f2baedc2c7b7a52c05314a64ec9068263.zip |
[SPARK-18750][YARN] Avoid using "mapValues" when allocating containers.
That method is prone to stack overflows when the input map is really
large; instead, use plain "map". Also includes a unit test that was
tested and caused stack overflows without the fix.
Author: Marcelo Vanzin <vanzin@cloudera.com>
Closes #16667 from vanzin/SPARK-18750.
Diffstat (limited to 'mllib/src')
0 files changed, 0 insertions, 0 deletions