指定Executor的操作是针对flow的.单独job设置不生效(亲测)

想达到flow到指定executor上执行的方式有两种,都是通过schedule界面的配置完成.

1- 临时一次执行

在flow的界面中,flow右上角有个schedule/Execute flow的按钮,点击一下,界面如下

Azkaban任务指定Executor

点击flow  Parameters标签页,界面如下,新增useExecutor=Executor Id的选项.

Azkaban任务指定Executor

Executor Id可以到azkaban的元数据库mysql中,有个叫executors的表,select * from executors;查看每个Executor的ID.

此时,点击Execute为单次执行,设置的useExecutor参数只有本次生效.

点击Schedule按钮设置执行计划后,每次执行计划都会按照设置的useExecutor参数来执行,多次生效.

Azkaban任务指定Executor

以上,感谢耐心阅读

 

相关文章:

  • 2019-07-09
  • 2021-08-16
  • 2022-12-23
  • 2021-09-24
  • 2021-12-19
  • 2021-07-02
  • 2021-09-09
  • 2022-12-23
猜你喜欢
  • 2021-05-30
  • 2021-06-12
  • 2021-05-31
  • 2021-10-03
  • 2021-09-13
  • 2021-04-04
相关资源
相似解决方案