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

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了解决方法:使用 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.