From 82cc3b707d8d927817dda213836edef2cec2377c Mon Sep 17 00:00:00 2001 From: sandro Date: Mon, 20 Apr 2020 14:47:06 +0200 Subject: [PATCH] fixed name of wrong package --- .../doiboost/crossref/Crossref2Oaf.scala | 3 +- .../orcid.oozie_app/config-default.xml | 18 -------- .../dhp/doiboost/orcid.oozie_app/workflow.xml | 41 ------------------- 3 files changed, 2 insertions(+), 60 deletions(-) delete mode 100644 dhp-workflows/dhp-doiboost/src/main/resources/eu/dnetlib/dhp/doiboost/orcid.oozie_app/config-default.xml delete mode 100644 dhp-workflows/dhp-doiboost/src/main/resources/eu/dnetlib/dhp/doiboost/orcid.oozie_app/workflow.xml diff --git a/dhp-workflows/dhp-doiboost/src/main/java/eu/dnetlib/doiboost/crossref/Crossref2Oaf.scala b/dhp-workflows/dhp-doiboost/src/main/java/eu/dnetlib/doiboost/crossref/Crossref2Oaf.scala index 83259f5ec..8053a7cbb 100644 --- a/dhp-workflows/dhp-doiboost/src/main/java/eu/dnetlib/doiboost/crossref/Crossref2Oaf.scala +++ b/dhp-workflows/dhp-doiboost/src/main/java/eu/dnetlib/doiboost/crossref/Crossref2Oaf.scala @@ -106,9 +106,10 @@ class Crossref2Oaf { result.setDataInfo(generateDataInfo()) result.setLastupdatetimestamp((json \"indexed" \"timestamp").extract[Long]) - result.setDateofcollection((json \"indexed" \"date-time").extract[String]) + //result.setCollectedfrom() + result } diff --git a/dhp-workflows/dhp-doiboost/src/main/resources/eu/dnetlib/dhp/doiboost/orcid.oozie_app/config-default.xml b/dhp-workflows/dhp-doiboost/src/main/resources/eu/dnetlib/dhp/doiboost/orcid.oozie_app/config-default.xml deleted file mode 100644 index 9f009a781..000000000 --- a/dhp-workflows/dhp-doiboost/src/main/resources/eu/dnetlib/dhp/doiboost/orcid.oozie_app/config-default.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - jobTracker - yarnRM - - - nameNode - hdfs://nameservice1 - - - oozie.action.sharelib.for.java - spark2 - - - oozie.launcher.mapreduce.user.classpath.first - true - - \ No newline at end of file diff --git a/dhp-workflows/dhp-doiboost/src/main/resources/eu/dnetlib/dhp/doiboost/orcid.oozie_app/workflow.xml b/dhp-workflows/dhp-doiboost/src/main/resources/eu/dnetlib/dhp/doiboost/orcid.oozie_app/workflow.xml deleted file mode 100644 index 36e0cdf1b..000000000 --- a/dhp-workflows/dhp-doiboost/src/main/resources/eu/dnetlib/dhp/doiboost/orcid.oozie_app/workflow.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - workingPath - the working dir base path - - - - - - - - Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}] - - - - - - - - - - - - - - - - ${jobTracker} - ${nameNode} - eu.dnetlib.doiboost.orcid.OrcidDSManager - -d${workingPath}/ - -n${nameNode} - -fORCID_2019_summaries.tar.gz - -ooutput/ - - - - - - \ No newline at end of file