Skip to content

Instantly share code, notes, and snippets.

@davidzchen
Last active August 29, 2015 14:02

Revisions

  1. davidzchen revised this gist Jun 20, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion azkaban-embedded.properties
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ innerJobA.job.class = azkaban.executor.SleepJavaJob
    innerJobA.seconds = 1
    innerJobA.fail = false
    innerJobA.property.with.variable = Name of class: ${job.class}
    innerJobA.arithmetic = (1 + 3) - 2
    innerJobA.arithmetic = $($(1 + 3) - 2)

    innerJobB.type = javaprocess
    innerJobB.job.class = azkaban.executor.SleepJavaJob
  2. davidzchen revised this gist Jun 20, 2014. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion azkaban-embedded.properties
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,9 @@

    innerJobA.type = javaprocess
    innerJobA.job.class = azkaban.executor.SleepJavaJob
    innerJobA.seconds = 1
    innerJobA.fail = false
    innerJobA.property.with.variable = Name of class: ${job.class}
    innerJobA.arithmetic = (1 + 3) - 2

    innerJobB.type = javaprocess
    innerJobB.job.class = azkaban.executor.SleepJavaJob
  3. davidzchen created this gist Jun 20, 2014.
    41 changes: 41 additions & 0 deletions azkaban-embedded.properties
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,41 @@

    innerJobA.type = javaprocess
    innerJobA.job.class = azkaban.executor.SleepJavaJob
    innerJobA.seconds = 1
    innerJobA.fail = false

    innerJobB.type = javaprocess
    innerJobB.job.class = azkaban.executor.SleepJavaJob
    innerJobB.deps = innerJobA
    innerJobB.seconds = 1
    innerJobB.fail = false

    innerJobC.type = javaprocess
    innerJobC.job.class = azkaban.executor.SleepJavaJob
    innerJobC.deps = innerJobA
    innerJobC.seconds = 1
    innerJobC.fail = false

    jobA.type = javaprocess
    jobA.job.class = azkaban.executor.SleepJavaJob
    jobA.seconds = 1
    jobA.fail = false

    innerFlow.type = workflow
    innerFlow.deps = jobA
    innerFlow.runs = innerJobB, innerJobC

    flowB.type = workflow
    flowB.embeds = innerFlow
    flowB.deps = jobA

    flowC.type = workflow
    flowC.embeds = innerFlow
    flowC.deps = jobA

    flowD.type = workflow
    flowD.embeds = innerFlow
    flowD.deps = jobA

    embedded.type = workflow
    embedded.runs = jobB, jobC, jobD