Skip to content

Commit 142de67

Browse files
committed
Add the return type
1 parent dac8aa9 commit 142de67

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
@@ -408,7 +408,7 @@ class CoarseGrainedSchedulerBackend(scheduler: TaskSchedulerImpl, val rpcEnv: Rp
408408
}
409409

410410
// Called by subclasses when notified of a lost worker
411-
protected def removeExecutor(executorId: String, reason: ExecutorLossReason) {
411+
protected def removeExecutor(executorId: String, reason: ExecutorLossReason): Unit = {
412412
try {
413413
driverEndpoint.askWithRetry[Boolean](RemoveExecutor(executorId, reason))
414414
} catch {

0 commit comments

Comments
 (0)