Created
June 22, 2014 05:13
-
-
Save davidzchen/7a22734e70fbc97552cc to your computer and use it in GitHub Desktop.
Azkaban JSON-based DSL Syntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"innerJobA": { | |
"type": "javaprocess", | |
"props": { | |
"job.class": "azkaban.executor.SleepJavaJob", | |
"seconds": 1, | |
"fail": "false" | |
} | |
}, | |
"innerJobB": { | |
"type": "javaprocess", | |
"deps": "innerJobA", | |
"props": { | |
"job.class": "azkaban.executor.SleepJavaJob", | |
"seconds": 1, | |
"fail": "false" | |
} | |
}, | |
"innerJobC": { | |
"type": "javaprocess", | |
"deps": "innerJobA", | |
"props": { | |
"job.class": "azkaban.executor.SleepJavaJob", | |
"seconds": 1, | |
"fail": "false" | |
} | |
}, | |
"jobA": { | |
"type": "javaprocess", | |
"props": { | |
"job.class": "azkaban.executor.SleepJavaJob", | |
"seconds": 1, | |
"fail": "false" | |
} | |
}, | |
"innerFlow": { | |
"deps": "jobA", | |
"runs": ["innerJobB", "innerJobC"] | |
}, | |
"flowB": { | |
"embeds": "innerFlow", | |
"deps": "jobA" | |
}, | |
"flowC": { | |
"embeds": "innerFlow", | |
"deps": "jobA" | |
}, | |
"flowD": { | |
"embeds": "innerFlow", | |
"deps": "jobA" | |
}, | |
"embedded": { | |
"runs": ["jobB", "jobC", "jobD"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment