Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8872#discussion_r53530197
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
 ---
    @@ -452,38 +456,42 @@ private[spark] class MesosClusterScheduler(
        * This method takes all the possible candidates and attempt to schedule 
them with Mesos offers.
        * Every time a new task is scheduled, the afterLaunchCallback is called 
to perform post scheduled
        * logic on each task.
    +   *
    +   * @return tasks Remaining resources after scheduling tasks
    --- End diff --
    
    actually you don't read the return value anywhere. You can keep this as 
Unit.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to