Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20032#discussion_r158147697
--- Diff:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesClusterSchedulerBackend.scala
---
@@ -86,7 +86,7 @@ private[spark] class KubernetesClusterSchedulerBackend(
private val initialExecutors =
SchedulerBackendUtils.getInitialTargetExecutorNumber(conf)
- private val podAllocationInterval =
conf.get(KUBERNETES_ALLOCATION_BATCH_DELAY)
+ private val podAllocationInterval =
conf.getTimeAsMs(KUBERNETES_ALLOCATION_BATCH_DELAY.key)
--- End diff --
This should be just `conf.get(KUBERNETES_ALLOCATION_BATCH_DELAY)`. The
config's unit is already ms.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]