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

    https://github.com/apache/spark/pull/3638#discussion_r22693713
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala ---
    @@ -249,13 +250,12 @@ private[spark] class TaskSchedulerImpl(
         // of locality levels so that it gets a chance to launch local tasks 
on all of them.
         // NOTE: the preferredLocality order: PROCESS_LOCAL, NODE_LOCAL, 
NO_PREF, RACK_LOCAL, ANY
         var launchedTask = false
    -    for (taskSet <- sortedTaskSets; maxLocality <- 
taskSet.myLocalityLevels) {
    -      do {
    -        launchedTask = false
    -        for (i <- 0 until shuffledOffers.size) {
    -          val execId = shuffledOffers(i).executorId
    -          val host = shuffledOffers(i).host
    -          if (availableCpus(i) >= CPUS_PER_TASK) {
    +    def resourceOfferSingleTaskSet(taskSet: TaskSetManager, maxLocality: 
TaskLocality) : Unit = {
    --- End diff --
    
    no space before `:`


---
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