blob: 57a3c865093a6cde1d7d17f57f764a1140d4e94c [file] [log] [blame]
<workflow-app name="gobblin-oozie-example-workflow" xmlns="uri:oozie:workflow:0.1">
<start to="gobblin-local-job"/>
<action name="gobblin-local-job">
<java>
<job-tracker>${jobTracker}</job-tracker>
<name-node>${nameNode}</name-node>
<configuration>
<property>
<name>oozie.launcher.mapreduce.user.classpath.first</name>
<value>true</value>
</property>
</configuration>
<main-class>gobblin.runtime.local.CliLocalJobLauncher</main-class>
<arg>--jobconfig</arg>
<arg>${nameNode}/path/to/jobconfig.properties</arg>
<arg>--sysconfig</arg>
<arg>${nameNode}/path/to/sysconfig.properties</arg>
</java>
<ok to="end"/>
<error to="fail"/>
</action>
<kill name="fail">
<message>Error Message: ${wf:errorMessage(wf:lastErrorNode())}</message>
</kill>
<end name="end"/>
</workflow-app>