Github user andrewor14 commented on a diff in the pull request: https://github.com/apache/spark/pull/5063#discussion_r28386441 --- Diff: core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosSchedulerBackend.scala --- @@ -233,9 +234,7 @@ private[spark] class MesosSchedulerBackend( getResource(o.getResourcesList, "cpus").toInt } else { // If the executor doesn't exist yet, subtract CPU for executor --- End diff -- Perhaps we can elaborate on this comment a little: ``` // If the Mesos executor has not been started on this slave yet, set aside a few // cores for the Mesos executor by subtracting this from the number that would // have been granted to the Spark executor ```
--- 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