1
0
Fork 0

[graph resolution] drop output path at the beginning

This commit is contained in:
Claudio Atzori 2022-01-24 18:02:07 +01:00
parent 8de9788308
commit 59a250337c
1 changed files with 10 additions and 1 deletions

View File

@ -19,12 +19,21 @@
</property>
</parameters>
<start to="ResolveRelations"/>
<start to="reset_outputpath"/>
<kill name="Kill">
<message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
</kill>
<action name="reset_outputpath">
<fs>
<delete path="${targetPath}"/>
<mkdir path="${targetPath}"/>
</fs>
<ok to="ResolveRelations"/>
<error to="Kill"/>
</action>
<action name="ResolveRelations">
<spark xmlns="uri:oozie:spark-action:0.2">
<master>yarn</master>