added temporary output folder, because of folder access rights are different on beta and prod

This commit is contained in:
Enrico Ottonello 2021-05-20 19:14:31 +02:00
parent 1265dadc90
commit d0945c3c78
1 changed files with 7 additions and 4 deletions

View File

@ -9,7 +9,10 @@
<name>outputPath</name>
<description>path where to store the action set</description>
</property>
<property>
<name>processOutputFolder</name>
<description>temporary path where to store the action set</description>
</property>
<property>
<name>spark2GenNoDoiDatasetMaxExecutors</name>
<value>40</value>
@ -66,7 +69,7 @@
<action name="ResetWorkingPath">
<fs>
<delete path='${workingPath}/no_doi_dataset'/>
<delete path='${workingPath}/${processOutputFolder}'/>
</fs>
<ok to="GenOrcidNoDoiDataset"/>
<error to="Kill"/>
@ -92,7 +95,7 @@
<arg>--workingPath</arg><arg>${workingPath}/</arg>
<arg>--hdfsServerUri</arg><arg>${nameNode}</arg>
<arg>--orcidDataFolder</arg><arg>last_orcid_dataset</arg>
<arg>--outputEnrichedWorksPath</arg><arg>no_doi_dataset</arg>
<arg>--outputEnrichedWorksPath</arg><arg>${processOutputFolder}</arg>
</spark>
<ok to="importOrcidNoDoi"/>
<error to="Kill"/>
@ -100,7 +103,7 @@
<action name="importOrcidNoDoi">
<distcp xmlns="uri:oozie:distcp-action:0.2">
<arg>${workingPath}/no_doi_dataset/*</arg>
<arg>${workingPath}/${processOutputFolder}/*</arg>
<arg>${outputPath}</arg>
</distcp>
<ok to="End"/>