From 70d33920e25c9dbb38616004e7cdce74dd5c1445 Mon Sep 17 00:00:00 2001 From: "miriam.baglioni" Date: Fri, 17 Jul 2020 18:49:45 +0200 Subject: [PATCH] fixed typo --- .../dhp/actionset/stable/SparkRedistributeIISRelations.java | 2 +- .../resources/eu/dnetlib/dhp/actionset/oozie_app/workflow.xml | 2 +- .../eu/dnetlib/dhp/actionset/RedistributeIISLinksTest.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dhp-workflows/dhp-actionset-remapping/src/main/java/eu/dnetlib/dhp/actionset/stable/SparkRedistributeIISRelations.java b/dhp-workflows/dhp-actionset-remapping/src/main/java/eu/dnetlib/dhp/actionset/stable/SparkRedistributeIISRelations.java index 2691fd8be..154b15e51 100644 --- a/dhp-workflows/dhp-actionset-remapping/src/main/java/eu/dnetlib/dhp/actionset/stable/SparkRedistributeIISRelations.java +++ b/dhp-workflows/dhp-actionset-remapping/src/main/java/eu/dnetlib/dhp/actionset/stable/SparkRedistributeIISRelations.java @@ -114,7 +114,7 @@ public class SparkRedistributeIISRelations implements Serializable { private static DataInfo getDataInfo(ASResultInfo asResultInfo) { DataInfo di = new DataInfo(); di.setInvisible(false); - di.setInvisible(true); + di.setInferred(true); di.setDeletedbyinference(false); di.setTrust(asResultInfo.getValue().get(0).getTrust()); di.setInferenceprovenance(asResultInfo.getValue().get(0).getInference_provenance()); diff --git a/dhp-workflows/dhp-actionset-remapping/src/main/resources/eu/dnetlib/dhp/actionset/oozie_app/workflow.xml b/dhp-workflows/dhp-actionset-remapping/src/main/resources/eu/dnetlib/dhp/actionset/oozie_app/workflow.xml index 81dd5f5d2..8a0091516 100644 --- a/dhp-workflows/dhp-actionset-remapping/src/main/resources/eu/dnetlib/dhp/actionset/oozie_app/workflow.xml +++ b/dhp-workflows/dhp-actionset-remapping/src/main/resources/eu/dnetlib/dhp/actionset/oozie_app/workflow.xml @@ -158,7 +158,7 @@ yarn cluster SelectResults - eu.dnetlib.dhp.actionset.stable.SparkRedistributeIISResult + eu.dnetlib.dhp.actionset.stable.SparkRedistributeIISResults dhp-actionset-remapping-${projectVersion}.jar --executor-cores=${sparkExecutorCores} diff --git a/dhp-workflows/dhp-actionset-remapping/src/test/java/eu/dnetlib/dhp/actionset/RedistributeIISLinksTest.java b/dhp-workflows/dhp-actionset-remapping/src/test/java/eu/dnetlib/dhp/actionset/RedistributeIISLinksTest.java index cc3d6632c..72db266cf 100644 --- a/dhp-workflows/dhp-actionset-remapping/src/test/java/eu/dnetlib/dhp/actionset/RedistributeIISLinksTest.java +++ b/dhp-workflows/dhp-actionset-remapping/src/test/java/eu/dnetlib/dhp/actionset/RedistributeIISLinksTest.java @@ -22,8 +22,8 @@ import org.slf4j.LoggerFactory; import com.fasterxml.jackson.databind.ObjectMapper; -import eu.dnetlib.dhp.actionmanager.remapping.SparkRedistributeIISResult; import eu.dnetlib.dhp.actionset.stable.SparkRedistributeIISRelations; +import eu.dnetlib.dhp.actionset.stable.SparkRedistributeIISResults; import eu.dnetlib.dhp.schema.action.AtomicAction; import eu.dnetlib.dhp.schema.oaf.Relation; import eu.dnetlib.dhp.schema.oaf.Result; @@ -148,7 +148,7 @@ public class RedistributeIISLinksTest { @Test public void redistributeTestResult() throws Exception { - SparkRedistributeIISResult + SparkRedistributeIISResults .main( new String[] { "-isSparkSessionManaged",