0

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

4

1 回答 1

1

我推荐使用 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

job.py我在以下位置有一个CLI 格式的充实示例: https ://github.com/joeharris76/azkaban_examples

于 2017-01-06T21:20:27.213 回答