dongjoon-hyun commented on a change in pull request #31790:
URL: https://github.com/apache/spark/pull/31790#discussion_r659263493



##########
File path: 
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorPodsAllocator.scala
##########
@@ -216,10 +222,13 @@ private[spark] class ExecutorPodsAllocator(
         execPods(execId) = execPodState
       }
     }
-
-    var totalPendingCount = 0
+    var sumPendingPods = 0

Review comment:
       Can we reuse the old variable `totalPendingCount`? It looks resemble 
enough for `sumPendingPods` in the next context.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to