Skip to content

Instantly share code, notes, and snippets.

@davidzchen
Last active August 29, 2015 14:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidzchen/ed954aeaec1a9850c856 to your computer and use it in GitHub Desktop.
Save davidzchen/ed954aeaec1a9850c856 to your computer and use it in GitHub Desktop.
Azkaban YAML DSL Syntax
innerJobA:
type: javaprocess
job.class: azkaban.executor.SleepJavaJob
seconds: 1
fail: false
property.with.variable: "Name of class: ${job.class}"
arithmetic: (1 + 3) - 2
innerJobB:
type: javaprocess
deps: innerJobA
job.class: azkaban.executor.SleepJavajob
seconds: 1
fail: false
innerJobC:
type: javaprocess
deps: innerJobA
job.class: azkaban.executor.SleepJavaJob
seconds: 1
fail: false
jobA:
type: javaprocess
job.class: azkaban.executor.SleepJavaJob
seconds: 1
fail: false
innerFlow:
type: workflow
deps: jobA
runs:
- innerJobB
- innerJobC
flowB:
type: workflow
embeds: innerFlow
deps: jobA
flowC:
type: workflow
embeds: innerFlow
deps: jobA
flowD:
type: workflow
embeds: innerFlow
deps: jobA
embedded:
type: workflow
runs:
- jobB
- jobC
- jobD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment