预验证 Azkaban 流程的流程

Process to pre-validate Azkaban flows

我想在将它们上传到服务器之前验证我的 Azkaban 流程,就这么简单。我们有插件或其他东西吗?如果不是,Azkaban github 中的 类 执行此验证的是什么?我可以调整它们并用它来进行验证。

我推荐使用 Azkaban "CLI",您可以在这里找到它:https://github.com/mtth/azkaban

您从终端提交项目并获得如下反馈:

$ azkaban build -c --project my_project
  > Validator Directory Flow reports errors:<ul><li>my_flow_1 cannot 
    find dependency my_other_flow</li></ul>

$ azkaban build -c --project my_project
  > Project my_project successfully built and uploaded (id: 20, size: 28.2kB, upload: 2).
    Details at https://192.168.0.1:8443/manager?project=my_project

我在 https://github.com/joeharris76/azkaban_examples

处为 CLI 提供了 job.py 格式的充实示例