Github user devaraj-kavali commented on a diff in the pull request: https://github.com/apache/spark/pull/13326#discussion_r65748851 --- Diff: core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala --- @@ -188,10 +188,10 @@ private[spark] class MesosClusterScheduler( mesosDriver.killTask(task.taskId) k.success = true k.message = "Killing running driver" - } else if (removeFromQueuedDrivers(submissionId)) { --- End diff -- Thanks @tnachen for looking into this, I see it is being used in other places. ``` queuedDrivers .filter(d => launchedDrivers.contains(d.submissionId)) .foreach(d => removeFromQueuedDrivers(d.submissionId)) ``` ``` // Then we walk through the queued drivers and try to schedule them. scheduleTasks( copyBuffer(queuedDrivers), removeFromQueuedDrivers, currentOffers, tasks) ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org