From 5c5a195e97b8a7711cce04854e834e3f63073e3e Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Mon, 23 Oct 2023 11:26:17 +0200 Subject: [PATCH] refactoring and fixing issue on property name --- .../main/java/eu/dnetlib/dhp/bulktag/community/Constraint.java | 2 -- .../resources/eu/dnetlib/dhp/bulktag/oozie_app/workflow.xml | 2 +- .../src/test/java/eu/dnetlib/dhp/api/QueryCommunityAPITest.java | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/Constraint.java b/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/Constraint.java index 48d9be7cd..13d29b940 100644 --- a/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/Constraint.java +++ b/dhp-workflows/dhp-enrichment/src/main/java/eu/dnetlib/dhp/bulktag/community/Constraint.java @@ -41,7 +41,6 @@ public class Constraint implements Serializable { this.value = value; } - @JsonIgnore public void setSelection(VerbResolver resolver) throws InvocationTargetException, NoSuchMethodException, InstantiationException, @@ -53,5 +52,4 @@ public class Constraint implements Serializable { return selection.apply(metadata); } - } diff --git a/dhp-workflows/dhp-enrichment/src/main/resources/eu/dnetlib/dhp/bulktag/oozie_app/workflow.xml b/dhp-workflows/dhp-enrichment/src/main/resources/eu/dnetlib/dhp/bulktag/oozie_app/workflow.xml index 4b81c58e4..e3ca72493 100644 --- a/dhp-workflows/dhp-enrichment/src/main/resources/eu/dnetlib/dhp/bulktag/oozie_app/workflow.xml +++ b/dhp-workflows/dhp-enrichment/src/main/resources/eu/dnetlib/dhp/bulktag/oozie_app/workflow.xml @@ -111,7 +111,7 @@ --num-executors=${sparkExecutorNumber} --executor-memory=${sparkExecutorMemory} --executor-cores=${sparkExecutorCores} - --conf spark.executor.memoryOverhead=${memeoryOverhead} + --conf spark.executor.memoryOverhead=${memoryOverhead} --conf spark.sql.shuffle.partitions=${partitions} --driver-memory=${sparkDriverMemory} --conf spark.extraListeners=${spark2ExtraListeners} diff --git a/dhp-workflows/dhp-enrichment/src/test/java/eu/dnetlib/dhp/api/QueryCommunityAPITest.java b/dhp-workflows/dhp-enrichment/src/test/java/eu/dnetlib/dhp/api/QueryCommunityAPITest.java index 0cdf0f50b..e3c2a5f45 100644 --- a/dhp-workflows/dhp-enrichment/src/test/java/eu/dnetlib/dhp/api/QueryCommunityAPITest.java +++ b/dhp-workflows/dhp-enrichment/src/test/java/eu/dnetlib/dhp/api/QueryCommunityAPITest.java @@ -1,7 +1,6 @@ package eu.dnetlib.dhp.api; - import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test;