diff --git a/dhp-workflows/dhp-broker-events/src/main/resources/eu/dnetlib/dhp/broker/oa/generate_all/oozie_app/workflow.xml b/dhp-workflows/dhp-broker-events/src/main/resources/eu/dnetlib/dhp/broker/oa/generate_all/oozie_app/workflow.xml
index d06eec87e..0aeb51c3c 100644
--- a/dhp-workflows/dhp-broker-events/src/main/resources/eu/dnetlib/dhp/broker/oa/generate_all/oozie_app/workflow.xml
+++ b/dhp-workflows/dhp-broker-events/src/main/resources/eu/dnetlib/dhp/broker/oa/generate_all/oozie_app/workflow.xml
@@ -505,21 +505,21 @@
--maxEventsForTopic${maxIndexedEventsForDsAndTopic}
--brokerApiBaseUrl${brokerApiBaseUrl}
-
+
-
+
yarn
cluster
- IndexNotificationsOnESJob
- eu.dnetlib.dhp.broker.oa.IndexNotificationsJob
+ GenerateStatsJob
+ eu.dnetlib.dhp.broker.oa.GenerateStatsJob
dhp-broker-events-${projectVersion}.jar
+ --executor-cores=${sparkExecutorCores}
--executor-memory=${sparkExecutorMemory}
--driver-memory=${sparkDriverMemory}
- --conf spark.dynamicAllocation.maxExecutors="8"
--conf spark.extraListeners=${spark2ExtraListeners}
--conf spark.sql.queryExecutionListeners=${spark2SqlQueryExecutionListeners}
--conf spark.yarn.historyServer.address=${spark2YarnHistoryServerAddress}
@@ -527,29 +527,26 @@
--conf spark.sql.shuffle.partitions=3840
--outputDir${outputDir}
- --index${esNotificationsIndexName}
- --esHost${esIndexHost}
- --esBatchWriteRetryCount${esBatchWriteRetryCount}
- --esBatchWriteRetryWait${esBatchWriteRetryWait}
- --esBatchSizeEntries${esBatchSizeEntries}
- --esNodesWanOnly${esNodesWanOnly}
+ --dbUrl${brokerDbUrl}
+ --dbUser${brokerDbUser}
+ --dbPassword${brokerDbPassword}
--brokerApiBaseUrl${brokerApiBaseUrl}
-
+
-
+
yarn
cluster
- GenerateStatsJob
- eu.dnetlib.dhp.broker.oa.GenerateStatsJob
+ IndexNotificationsOnESJob
+ eu.dnetlib.dhp.broker.oa.IndexNotificationsJob
dhp-broker-events-${projectVersion}.jar
- --executor-cores=${sparkExecutorCores}
--executor-memory=${sparkExecutorMemory}
--driver-memory=${sparkDriverMemory}
+ --conf spark.dynamicAllocation.maxExecutors="8"
--conf spark.extraListeners=${spark2ExtraListeners}
--conf spark.sql.queryExecutionListeners=${spark2SqlQueryExecutionListeners}
--conf spark.yarn.historyServer.address=${spark2YarnHistoryServerAddress}
@@ -557,15 +554,18 @@
--conf spark.sql.shuffle.partitions=3840
--outputDir${outputDir}
- --dbUrl${brokerDbUrl}
- --dbUser${brokerDbUser}
- --dbPassword${brokerDbPassword}
+ --index${esNotificationsIndexName}
+ --esHost${esIndexHost}
+ --esBatchWriteRetryCount${esBatchWriteRetryCount}
+ --esBatchWriteRetryWait${esBatchWriteRetryWait}
+ --esBatchSizeEntries${esBatchSizeEntries}
+ --esNodesWanOnly${esNodesWanOnly}
--brokerApiBaseUrl${brokerApiBaseUrl}
-
+
\ No newline at end of file