Skip to content

Instantly share code, notes, and snippets.

@svenhofstede-zz
Last active May 4, 2016 11:06
Show Gist options
  • Save svenhofstede-zz/12fda3b7c94cf74f9c879989cc0f9149 to your computer and use it in GitHub Desktop.
Save svenhofstede-zz/12fda3b7c94cf74f9c879989cc0f9149 to your computer and use it in GitHub Desktop.
Get the ID of a Coordinator in a Oozie workflow
<coordinator-app
name="demo_coordinator"
frequency="360"
start="2100-12-31T23:59Z"
end="2100-12-31T23:59Z"
timezone="EST"
xmlns="uri:oozie:coordinator:0.2"
>
<controls>
<execution>FIFO</execution>
</controls>
<action>
<workflow>
<app-path>../demo_workflow</app-path>
<configuration>
<property>
<name>COORDINATOR_ID</name>
<value>${coord:actionId()}</value>
</property>
</configuration>
</workflow>
</action>
</coordinator-app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment