From 0f524833ead09a6a46e138e59b9835018f28e69e Mon Sep 17 00:00:00 2001 From: witgo Date: Sat, 17 May 2014 10:32:17 +0800 Subject: [PATCH] review commit --- .../scheduler/cluster/CoarseGrainedSchedulerBackend.scala | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala b/core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala index 78c23f2ef6b7d..e47a060683a2d 100644 --- a/core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala +++ b/core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala @@ -156,9 +156,6 @@ class CoarseGrainedSchedulerBackend(scheduler: TaskSchedulerImpl, actorSystem: A case e: Exception => logError("Exception in error callback", e) } } - // scheduler.error(msg) - // TODO: Need to throw an exception? - // throw new SparkException(msg) } else { freeCores(task.executorId) -= scheduler.CPUS_PER_TASK