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

    https://github.com/apache/spark/pull/19390#discussion_r147069130
  
    --- Diff: 
resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosSchedulerUtils.scala
 ---
    @@ -427,10 +441,10 @@ trait MesosSchedulerUtils extends Logging {
           // partition port offers
           val (resourcesWithoutPorts, portResources) = 
filterPortResources(offeredResources)
     
    -      val portsAndRoles = requestedPorts.
    -        map(x => (x, findPortAndGetAssignedRangeRole(x, portResources)))
    +      val portsAndResourceInfo = requestedPorts.
    --- End diff --
    
    Maybe I'm not reading close enough, but what if the requested port isn't 
available or reserved? Can we request another one or do we just decline and 
wait?


---

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

Reply via email to