黑猴子的家:Azkaban3.84.4之公共config
2021-06-10 本文已影响0人
黑猴子的家
1、base.project
[alex@hadoop102 azkaban]$ vim jobs/base.project
azkaban-flow-version: 2.0
2、base.flow
[alex@hadoop102 azkaban]$ vim jobs/base.flow
config:
hh: "hello"
nodes:
- name: jobA
type: command
config:
command: echo "${hh} A"
- name: jobB
type: command
config:
command: echo "${hh} B"
dependsOn:
- jobA
3、打成zip包
[alex@hadoop102 azkaban]$ cd jobs/
[alex@hadoop102 jobs]$ zip -r base.zip base.project base.flow
adding: base.project (stored 0%)
adding: base.flow (deflated 18%)