Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/20032#discussion_r158064721
--- Diff:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/KubernetesClusterSchedulerBackend.scala
---
@@ -217,7 +217,7 @@ private[spark] class KubernetesClusterSchedulerBackend(
.watch(new ExecutorPodsWatcher()))
allocatorExecutor.scheduleWithFixedDelay(
- allocatorRunnable, 0L, podAllocationInterval, TimeUnit.SECONDS)
+ allocatorRunnable, 0L, podAllocationInterval.toLong,
TimeUnit.MILLISECONDS)
--- End diff --
Just checking this definitely returns ms? Looks good then.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]