Skip to content

Use the grouped workers worker_key function in scale outside of adaptive #152

Closed

Description

@guillaumeeb

Seen thanks to dask/dask-kubernetes#98.

Currently, _job_id_from_worker_name function is used as worker_key in adaptive options: https://github.com/dask/dask-jobqueue/blob/master/dask_jobqueue/core.py#L145.

However, this is not in place when manually scaling down or up. This could be a nice thing to avoid stopping too many workers when scaling down.

This may have to be changed upstream in distributed, somewhere here: https://github.com/dask/distributed/blob/master/distributed/deploy/cluster.py#L103. We could use a self.worker_key method if defined as another kwarg.

@mrocklin any opinion on that?

Activity

  1. mrocklin commented on Sep 17, 2018

    @mrocklin
    Member
  2. added
    bug
    enhancement
    on Oct 27, 2018
  3. self-assigned this
    on Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions