beliefer commented on code in PR #50209: URL: https://github.com/apache/spark/pull/50209#discussion_r1985958868
########## core/src/main/scala/org/apache/spark/deploy/master/Master.scala: ########## @@ -214,10 +214,10 @@ private[deploy] class Master( applicationMetricsSystem.report() // prevent the CompleteRecovery message sending to restarted master if (recoveryCompletionTask != null) { - recoveryCompletionTask.cancel(true) + recoveryCompletionTask.cancel(false) } if (checkForWorkerTimeOutTask != null) { - checkForWorkerTimeOutTask.cancel(true) + checkForWorkerTimeOutTask.cancel(false) Review Comment: ``` checkForWorkerTimeOutTask = forwardMessageThread.scheduleAtFixedRate( () => Utils.tryLogNonFatalError { self.send(CheckForWorkerTimeOut) }, 0, workerTimeoutMs, TimeUnit.MILLISECONDS) ``` There is no method called in the task that will throw `InterruptdEException`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org