主矩阵作业有时会阻塞其子作业

发布于 2025-01-03 05:02:48 字数 253 浏览 0 评论 0原文

我在主从设置上有几个矩阵作业,其中从机只有一个执行者。有时,当矩阵作业执行时,主要作业(触发所有其他作业)会占用一个从属作业,但其子作业仍然可以在该从属作业上运行 - 这就是我想要的,因为主要作业实际上不执行任何操作。但有时完全相同的工作会占用一个从属设备,并且其子工作会阻止认为没有可用的执行者。

(1) 有人知道为什么行为可能不同吗?对我来说,它看起来像一个错误,但可能有一些我错过的微妙原因。

(2) 您能提出一个解决方法吗?

多谢。

I have several matrix jobs on a master-slave setup where slaves have only one executor. Sometimes when a matrix job executes, the main job (that triggers all the other ones) occupies a slave, but its subjobs can still run on that slave - which is what I want, since the main job really does not do anything. But sometimes the exact same job would occupy a slave and its subjobs block thinking that there are no available executors.

(1) Does anybody know why the behavior may be different? To me it looks like a bug, but possibly there are subtle reasons that I'm missing.

(2) Can you propose a workaround?

Much obliged.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

三生池水覆流年 2025-01-10 05:02:48

我找到了解决方法:使用 Matrix Tie Parent Plugin将父作业绑定到具有多个执行器并且专门用于运行矩阵父作业的master(或其他一些节点)。

I have found a workaround: use Matrix Tie Parent Plugin to tie the parent job to master (or some other node) that has multiple executors and is specifically dedicated for the purpose of running matrix parent jobs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文