Skip to content

Commit

Permalink
fix hang
Browse files Browse the repository at this point in the history
  • Loading branch information
witgo committed May 14, 2014
1 parent 7965580 commit 1d35c7d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ class CoarseGrainedSchedulerBackend(scheduler: TaskSchedulerImpl, actorSystem: A
var msg = "Serialized task %s:%d were %d bytes which " +
"exceeds spark.akka.frameSize (%d bytes)."
msg = msg.format(task.taskId, task.index, serializedTask.limit, akkaFrameSize)
val exception = new SparkException(msg)
logError(msg, exception)
throw exception
scheduler.error(msg)
// TODO: Need to throw an exception?
throw new SparkException(msg)
}
freeCores(task.executorId) -= scheduler.CPUS_PER_TASK
executorActor(task.executorId) ! LaunchTask(new SerializableBuffer(serializedTask))
Expand Down

0 comments on commit 1d35c7d

Please sign in to comment.