aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorReynold Xin <rxin@apache.org>2014-05-26 21:31:27 -0700
committerReynold Xin <rxin@apache.org>2014-05-26 21:31:27 -0700
commitef690e1f69cb8e2e03bb0c43e3ccb2c54c995df7 (patch)
tree75d6148710f72ba805e0dc3d6eeba0a733ec844d /core
parent8d271c90fa496cb24e2b7362ef0497563591b97d (diff)
downloadspark-ef690e1f69cb8e2e03bb0c43e3ccb2c54c995df7.tar.gz
spark-ef690e1f69cb8e2e03bb0c43e3ccb2c54c995df7.tar.bz2
spark-ef690e1f69cb8e2e03bb0c43e3ccb2c54c995df7.zip
Fixed the error message for OutOfMemoryError in DAGScheduler.
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala b/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
index c70aa0e6e4..ccff6a3d1a 100644
--- a/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
+++ b/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
@@ -581,7 +581,7 @@ class DAGScheduler(
jobResult = JobFailed(e)
job.listener.jobFailed(e)
case oom: OutOfMemoryError =>
- val exception = new SparkException("job failed for Out of memory exception", oom)
+ val exception = new SparkException("Local job aborted due to out of memory error", oom)
jobResult = JobFailed(exception)
job.listener.jobFailed(exception)
} finally {