1. decision
2. workflow xml
<workflow-app xmlns="uri:oozie:workflow:0.5" name="decisionNodeWF">
<start to="decision"/>
<decision name="decision">
<switch>
<case to="mapReduce">${jobType eq "mapReduce"}</case>
<case to="hive">${jobType eq "hive"}</case>
<case to="pig">${jobType eq "pig"}</case>
<default to="mapReduce"/>
</switch>
</decision>
<action name="mapReduce">
<ok to="done"/>
<error to="done"/>
</action>
<action name="hive">
'NoSQL > oozie' 카테고리의 다른 글
| oozie bundle (0) | 2017.03.03 |
|---|---|
| oozie current() versus latest() comparison (0) | 2017.03.03 |
| oozie hive job (0) | 2017.03.02 |
| oozie python map/reduce job (0) | 2017.03.02 |
| oozie workflow and coordinator (0) | 2017.03.02 |