Skip to content

Commit

Permalink
Fixed the error message for OutOfMemoryError in DAGScheduler.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed May 27, 2014
1 parent 8d271c9 commit ef690e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ef690e1

Please sign in to comment.