diff options
author | Josh Rosen <joshrosen@databricks.com> | 2015-07-23 00:43:26 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-07-23 00:43:26 -0700 |
commit | ac3ae0f2be88e0b53f65342efe5fcbe67b5c2106 (patch) | |
tree | 02610a8718668dca76c259548b3520b414ed6bda /project/SparkBuild.scala | |
parent | b983d493b490ca8bafe7eb988b62a250987ae353 (diff) | |
download | spark-ac3ae0f2be88e0b53f65342efe5fcbe67b5c2106.tar.gz spark-ac3ae0f2be88e0b53f65342efe5fcbe67b5c2106.tar.bz2 spark-ac3ae0f2be88e0b53f65342efe5fcbe67b5c2106.zip |
[SPARK-9266] Prevent "managed memory leak detected" exception from masking original exception
When a task fails with an exception and also fails to properly clean up its managed memory, the `spark.unsafe.exceptionOnMemoryLeak` memory leak detection mechanism's exceptions will mask the original exception that caused the task to fail. We should throw the memory leak exception only if no other exception occurred.
Author: Josh Rosen <joshrosen@databricks.com>
Closes #7603 from JoshRosen/SPARK-9266 and squashes the following commits:
c268cb5 [Josh Rosen] Merge remote-tracking branch 'origin/master' into SPARK-9266
c1f0167 [Josh Rosen] Fix the error masking problem
448eae8 [Josh Rosen] Add regression test
Diffstat (limited to 'project/SparkBuild.scala')
0 files changed, 0 insertions, 0 deletions