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

    https://github.com/apache/spark/pull/20604#discussion_r170650217
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala
 ---
    @@ -610,20 +611,21 @@ class CoarseGrainedSchedulerBackend(scheduler: 
TaskSchedulerImpl, val rpcEnv: Rp
           val executorsToKill = knownExecutors
             .filter { id => !executorsPendingToRemove.contains(id) }
             .filter { id => force || !scheduler.isExecutorBusy(id) }
    -      executorsToKill.foreach { id => executorsPendingToRemove(id) = 
!replace }
    +      executorsToKill.foreach { id => executorsPendingToRemove(id) = 
!countFailures}
    --- End diff --
    
    super nit: space before `}`


---

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

Reply via email to