DenineLu commented on code in PR #54688:
URL: https://github.com/apache/spark/pull/54688#discussion_r2923028289
##########
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorPodsAllocator.scala:
##########
@@ -438,6 +448,116 @@ class ExecutorPodsAllocator(
applicationId: String,
resourceProfileId: Int,
pvcsInUse: Seq[String]): Unit = {
+ if (podAllocationConcurrency > 1) {
Review Comment:
> It would be better to add a enable configuration.
Added spark.kubernetes.allocation.batch.parallel.enabled (default false) as
an explicit switch. spark.kubernetes.allocation.batch.concurrency now only
takes effect when the parallel mode is enabled, and its default is changed to 5.
--
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]