Skip to content

Commit 1ba43d6

Browse files
committed
Fix the 'ask' type parameter in 'removeExecutor'
1 parent f7e26d7 commit 1ba43d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ class CoarseGrainedSchedulerBackend(scheduler: TaskSchedulerImpl, val rpcEnv: Rp
416416
*/
417417
protected def removeExecutor(executorId: String, reason: ExecutorLossReason): Unit = {
418418
// Only log the failure since we don't care about the result.
419-
driverEndpoint.ask(RemoveExecutor(executorId, reason)).onFailure { case t =>
419+
driverEndpoint.ask[Boolean](RemoveExecutor(executorId, reason)).onFailure { case t =>
420420
logError(t.getMessage, t)
421421
}(ThreadUtils.sameThread)
422422
}

0 commit comments

Comments
 (0)