Created
February 13, 2019 12:48
-
-
Save developer-sdk/fd0a0a960d2495704c84ff2b24b0acbd to your computer and use it in GitHub Desktop.
oozie workflow hdfs example
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
| <workflow-app xmlns="uri:oozie:workflow:0.5" name="workflow-example"> | |
| <parameters> | |
| <property> | |
| <name>param1</name> | |
| <value>hdfs://url/</value> | |
| </property> | |
| </parameters> | |
| <start to="decision" /> | |
| <decision name="decision"> | |
| <switch> | |
| <case to="action1"> | |
| ${ fs:dirSize(param1) gt 0 } | |
| </case> | |
| <default to="action_default" /> | |
| </switch> | |
| </decision> | |
| <action name="action_default"> | |
| <action name="action1"> | |
| </workflow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment