黑猴子的家:Azkaban3.84.4之hello world

2021-06-09  本文已影响0人  黑猴子的家

1、base.project

[alex@hadoop102 azkaban]$ mkdir jobs
[alex@hadoop102 azkaban]$ vim jobs/base.project
azkaban-flow-version: 2.0

2、base.flow

[alex@hadoop102 azkaban]$ vim jobs/base.flow
nodes:
  - name: jobA
    type: command
    config:
      command: echo "This is an echoed text."

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%)
上一篇下一篇

猜你喜欢

热点阅读