You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/08/03 09:59:46 UTC
[GitHub] [spark] attilapiros commented on a change in pull request #33492: [SPARK-36052][K8S] Introducing a limit for pending PODs
attilapiros commented on a change in pull request #33492:
URL: https://github.com/apache/spark/pull/33492#discussion_r681616371
##########
File path: resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorPodsAllocator.scala
##########
@@ -347,14 +373,10 @@ private[spark] class ExecutorPodsAllocator(
}
private def requestNewExecutors(
- expected: Int,
- running: Int,
+ numExecutorsToAllocate: Int,
applicationId: String,
resourceProfileId: Int,
pvcsInUse: Seq[String]): Unit = {
- val numExecutorsToAllocate = math.min(expected - running, podAllocationSize)
- logInfo(s"Going to request $numExecutorsToAllocate executors from Kubernetes for " +
- s"ResourceProfile Id: $resourceProfileId, target: $expected running: $running.")
Review comment:
@dongjoon-hyun what is your opinion?
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org