Skip to content
Permalink
Browse files

Add a TODO for dynamic allocation

  • Loading branch information...
mccheah committed Jun 8, 2018
1 parent bd7b0d3 commit e9d7c8f779e2969cfa2ba159e1c7295cebddc27b
@@ -99,6 +99,8 @@ private[spark] class KubernetesClusterSchedulerBackend(
}

override def doRequestTotalExecutors(requestedTotal: Int): Future[Boolean] = Future[Boolean] {
// TODO when we support dynamic allocation, the pod allocator should be told to process the
// current snapshot in order to decrease/increase the number of executors accordingly.
podAllocator.setTotalExpectedExecutors(requestedTotal)
true
}

0 comments on commit e9d7c8f

Please sign in to comment.
You can’t perform that action at this time.