[impact indicators] adjusted paths in the bip ranker wf parameters

This commit is contained in:
Claudio Atzori 2023-08-29 09:03:03 +02:00
parent d012aec0b3
commit f437be80ad
1 changed files with 27 additions and 8 deletions

View File

@ -9,6 +9,26 @@
<name>oozie.action.sharelib.for.spark</name> <name>oozie.action.sharelib.for.spark</name>
<value>${oozieActionShareLibForSpark2}</value> <value>${oozieActionShareLibForSpark2}</value>
</property> </property>
<property>
<name>projectImpactIndicatorsOutput</name>
<value>${nameNode}${workingDir}/project_indicators</value>
</property>
<property>
<name>openaireGraphInputPath</name>
<value>${nameNode}/${workingDir}/openaire_id_graph</value>
</property>
<property>
<name>synonymFolder</name>
<value>${nameNode}/${workingDir}/openaireid_to_dois/</value>
</property>
<property>
<name>checkpointDir</name>
<value>${nameNode}/${workingDir}/check/</value>
</property>
<property>
<name>bipScorePath</name>
<value>${nameNode}${workingDir}/openaire_universe_scores/</value>
</property>
</configuration> </configuration>
</global> </global>
@ -65,9 +85,8 @@
<!-- number of partitions to be used on joins --> <!-- number of partitions to be used on joins -->
<arg>${sparkShufflePartitions}</arg> <arg>${sparkShufflePartitions}</arg>
<!-- The output of the graph should be the openaire input graph for ranking--> <!-- The output of the graph should be the openaire input graph for ranking-->
<arg>${openaireGraphInputPath}</arg> <arg>${nameNode}${workingDir}/openaire_id_graph</arg>
<file>${nameNode}${wfAppPath}/create_openaire_ranking_graph.py#create_openaire_ranking_graph.py</file>
<file>${wfAppPath}/create_openaire_ranking_graph.py#create_openaire_ranking_graph.py</file>
</spark> </spark>
<ok to="non-iterative-rankings" /> <ok to="non-iterative-rankings" />
@ -103,7 +122,7 @@
</spark-opts> </spark-opts>
<!-- Script arguments here --> <!-- Script arguments here -->
<arg>${openaireGraphInputPath}</arg> <arg>${nameNode}/${workingDir}/openaire_id_graph</arg>
<!-- number of partitions to be used on joins --> <!-- number of partitions to be used on joins -->
<arg>${sparkShufflePartitions}</arg> <arg>${sparkShufflePartitions}</arg>
@ -136,7 +155,7 @@
</spark-opts> </spark-opts>
<!-- Script arguments here --> <!-- Script arguments here -->
<arg>${openaireGraphInputPath}</arg> <arg>${nameNode}/${workingDir}/openaire_id_graph</arg>
<arg>${ramGamma}</arg> <arg>${ramGamma}</arg>
<arg>${currentYear}</arg> <arg>${currentYear}</arg>
<arg>RAM</arg> <arg>RAM</arg>
@ -174,7 +193,7 @@
</spark-opts> </spark-opts>
<!-- Script arguments here --> <!-- Script arguments here -->
<arg>${openaireGraphInputPath}</arg> <arg>${nameNode}/${workingDir}/openaire_id_graph</arg>
<!-- number of partitions to be used on joins --> <!-- number of partitions to be used on joins -->
<arg>${sparkShufflePartitions}</arg> <arg>${sparkShufflePartitions}</arg>
<arg>3</arg> <arg>3</arg>
@ -207,7 +226,7 @@
</spark-opts> </spark-opts>
<!-- Script arguments here --> <!-- Script arguments here -->
<arg>${openaireGraphInputPath}</arg> <arg>${nameNode}/${workingDir}/openaire_id_graph</arg>
<arg>${pageRankAlpha}</arg> <arg>${pageRankAlpha}</arg>
<arg>${convergenceError}</arg> <arg>${convergenceError}</arg>
<arg>${checkpointDir}</arg> <arg>${checkpointDir}</arg>
@ -243,7 +262,7 @@
</spark-opts> </spark-opts>
<!-- Script arguments here --> <!-- Script arguments here -->
<arg>${openaireGraphInputPath}</arg> <arg>${nameNode}/${workingDir}/openaire_id_graph</arg>
<arg>${attrankAlpha}</arg> <arg>${attrankAlpha}</arg>
<arg>${attrankBeta}</arg> <arg>${attrankBeta}</arg>
<arg>${attrankGamma}</arg> <arg>${attrankGamma}</arg>