-
- Downloads
[SPARK-12759][Core][Spark should fail fast if --executor-memory is too small for spark to start]
Added an exception to be thrown in UnifiedMemoryManager.scala if the configuration given for executor memory is too low. Also modified the exception message thrown when driver memory is too low. This patch was tested manually by passing in config options to Spark shell. I also added a test in UnifiedMemoryManagerSuite.scala Author: Daniel Jalova <djalova@us.ibm.com> Closes #11255 from djalova/SPARK-12759.
Showing
- core/src/main/scala/org/apache/spark/memory/UnifiedMemoryManager.scala 11 additions, 1 deletion.../scala/org/apache/spark/memory/UnifiedMemoryManager.scala
- core/src/test/scala/org/apache/spark/memory/UnifiedMemoryManagerSuite.scala 19 additions, 1 deletion...a/org/apache/spark/memory/UnifiedMemoryManagerSuite.scala
Please register or sign in to comment