Skip to content
Snippets Groups Projects
Commit f391ad2c authored by Marcelo Vanzin's avatar Marcelo Vanzin Committed by Tom Graves
Browse files

[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.

(cherry picked from commit 76db394f)
Signed-off-by: default avatarTom Graves <tgraves@yahoo-inc.com>
parent e2f77392
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment