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

    https://github.com/apache/spark/pull/19543#discussion_r150100634
  
    --- Diff: 
resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
 ---
    @@ -601,10 +602,14 @@ private[spark] class MesosClusterScheduler(
         for (submission <- candidates) {
           val driverCpu = submission.cores
           val driverMem = submission.mem
    -      logTrace(s"Finding offer to launch driver with cpu: $driverCpu, mem: 
$driverMem")
    +      val driverConstraints =
    +        
parseConstraintString(submission.conf.get("spark.mesos.driver.constraints", ""))
    --- End diff --
    
    New config properties would ideally be defined in the `config` object: 
https://github.com/apache/spark/blob/master/resource-managers/mesos/src/main/scala/org/apache/spark/deploy/mesos/config.scala#L24
 and referenced by the variable name.


---

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

Reply via email to