Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Instantiate a JobQueueCluster with an already started Scheduler

未关闭
#419 6 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python

调研方向

首先跟踪 JobQueueCluster 如何创建 Scheduler 并连接到它,然后查看此 issue 中提出的 scheduler 和 scheduler_info 形式。阅读相关 issue #186、#407、#378 和 #381,了解预期的使用场景。当 FooCluster 能够连接到已经启动的 Scheduler,而无需再创建另一个 Scheduler 时,即可视为完成。

由索引模型根据 Issue 内容生成。

描述

all job schedulers

While looking in several issues here, I feel that adding the ability to instanciate a JobQueueCluster with an already started Scheduler could help some use cases, and be a first step towards starting the Scheduler remotly on a job (#186).

The idea would be to add the possibility to do:

cluster = FooCluster(scheduler=my_scheduler)
#or 
cluster = FooCluster(scheduler_info=scheduler_file)

Then the JobQueueCluster won't instantiate a Scheduler, but just connect to an existing one.

I think this woul provide solutions to some issues:

  • #407, we could reuse a LocalCluster Scheduler :
loc_cluster = LocalCluster(...)
job_cluster = FooCluster(scheduler=loc_cluster.scheduler)
  • #378, #381 :
lowmem_cluster = FooCluster(cores=2,memory='4GB',resources=...)
highmem_cluster = FooCluster(scheduler=lowmeme_cluster.scheduler,cores=2,memory='16GB',resources=...)

Any thought?

主要语言
Python
星标
256
派生
149
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dask/dask-jobqueue 的其他 Issue

查看 dask/dask-jobqueue 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。