You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What should the behavior of the following cases be:
cluster.scale(2)
# run immediatelycluster.scale(0)
Currently, pending jobs are not removed from the cluster and eventually come on line. This is producing some buggy behavior.
or
cluster.scale_up(4)
cluster.scale_up(2)
Currently, the second scale_up call is a no-op but 4 workers will come online. Should we update the target number of workers or inform the user that scaling up to beyond 2 is already pending?
I think that scale should set a target state that the system should try to
achieve. After waiting a suitable amount of time I would expect the number
of workers to match the most recent scale call. I think that in both cases
we would ideally cancel the pending jobs. Presumably we would call qdel
(or equivalent) on the pending jobs before moving on to ask the scheduler
to remove workers.
On Tue, Jul 31, 2018 at 2:13 PM, Joe Hamman ***@***.***> wrote:
Consider a simple jobqueue cluster:
from dask_jobqueue import FooCluster
cluster = FooCluster(cores=1, processes=1)
What should the behavior of the following cases be:
cluster.scale(2)# run imediately
cluster.scale(0)
Currently, pending jobs are not removed from the cluster and eventually
come on line. This is producing some buggy behavior.
or
cluster.scale_up(4)
cluster.scale_up(2)
Currently, the second scale_up call is a no-op but 4 workers will come
online. Should we update the target number of workers or inform the user
that scaling up to beyond 2 is already pending?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#112>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASszGgH-A0isNSxHFfVQFE5DDKlfz4uks5uMMiAgaJpZM4Vpa2k>
.
I agree with @mrocklin, pending jobs must be removed from the cluster, last call to scale must be setting the target to achieve, if there are too many pending jobs, then we must remove some.
Activity
mrocklin commentedon Jul 31, 2018
guillaumeeb commentedon Aug 1, 2018
I agree with @mrocklin, pending jobs must be removed from the cluster, last call to scale must be setting the target to achieve, if there are too many pending jobs, then we must remove some.
guillaumeeb commentedon Oct 7, 2018
So this one is actually not closed.