1
0
Fork 0

[orcid enrichment] drop paths before copying the non-modifyed contents

This commit is contained in:
Claudio Atzori 2024-01-19 16:28:05 +01:00
parent c6b3401596
commit 2655eea5bc
1 changed files with 11 additions and 0 deletions

View File

@ -43,6 +43,17 @@
<arg>--graphPath</arg><arg>${graphPath}</arg> <arg>--graphPath</arg><arg>${graphPath}</arg>
<arg>--master</arg><arg>yarn</arg> <arg>--master</arg><arg>yarn</arg>
</spark> </spark>
<ok to="reset_outputpath"/>
<error to="Kill"/>
</action>
<action name="reset_outputpath">
<fs>
<delete path="${graphPath}/datasource"/>
<delete path="${graphPath}/organization"/>
<delete path="${graphPath}/project"/>
<delete path="${graphPath}/relation"/>
</fs>
<ok to="copy_datasource"/> <ok to="copy_datasource"/>
<error to="Kill"/> <error to="Kill"/>
</action> </action>