diff options
author | Daniel Jalova <djalova@us.ibm.com> | 2016-02-24 12:15:11 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-02-24 12:15:11 +0000 |
commit | bcfd55fa982b24184c07fcd4ccdd55dcf6465bf4 (patch) | |
tree | f945a36564a26e2b56142fea86efe70a9e6db3f5 /docs/_layouts | |
parent | 831429170f39743e9f9dca92ce6f064eda67392b (diff) | |
download | spark-bcfd55fa982b24184c07fcd4ccdd55dcf6465bf4.tar.gz spark-bcfd55fa982b24184c07fcd4ccdd55dcf6465bf4.tar.bz2 spark-bcfd55fa982b24184c07fcd4ccdd55dcf6465bf4.zip |
[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.
Diffstat (limited to 'docs/_layouts')
0 files changed, 0 insertions, 0 deletions