Changes

Summary

  1. fix(usagestats): run the usage stats action set workflow on the Spark 3.4.4 sharelib (details)
  2. fix(cleaning oozie wf): fixed EL expr (details)
  3. fix(cleaning): restore the null instance.license for missing information, clean the license in the 2nd use only (details)
  4. updated collector plugin of DBLP that download the latest dump each time (details)
  5. DBLPCollectorPlugin: safer automatic download of the DBLP dump (details)
  6. fixed a problem with the new validation model classes (details)
Commit dd59fda559e41868aebb85323546477e7df04fb4 by Claudio Atzori
fix(usagestats): run the usage stats action set workflow on the Spark 3.4.4 sharelib

The job failed in the shuffle read with "Unknown message type: 9": the Spark 3
client sends FetchShuffleBlocks, which the NodeManagers' external shuffle
service (older Spark network layer) cannot decode, so the stage was aborted
after 4 fetch failures.

- set spark.shuffle.useOldFetchProtocol=true so the legacy OpenBlocks
  protocol is used against the external shuffle service
- use the spark344 oozie sharelib instead of the Spark 2 one
- replace the per-property spark2* parameters with the sparkClusterOpts,
  sparkResourceOpts and sparkApplicationOpts bundles, with JDK 17 env,
  lz4 codecs and AQE/partitioning settings

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-aggregation/src/main/resources/eu/dnetlib/dhp/actionmanager/usagestats/oozie_app/workflow.xml
Commit 7161b6f4215ad83bc75bcf8768c421a851a48a50 by Claudio Atzori
fix(cleaning oozie wf): fixed EL expr
The file was modifieddhp-workflows/dhp-blacklist/src/main/resources/eu/dnetlib/dhp/blacklist/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/clean/oozie_app/workflow.xml
Commit cb81e4a56a5cb4fec63b4b404abf691a6bcd95e7 by Claudio Atzori
fix(cleaning): restore the null instance.license for missing information, clean the license in the 2nd use only

The UNKNOWN default introduced in instance.license is not the outcome of any cleaning, and it turned the
consumers of the field upside down: every result has a non-empty license (Solr haslicense is always true) and the
indicators built on result_licenses count it as information.

* instance.license stays populated with the term resulting from the cleaning of instance.license2 (pre-cleaning +
  dnet:licenses), but no default is set when there is nothing to populate it with: the absence of information at the
  source is null, a value that cannot be cleaned is preserved as exposed by the source
* the UNKNOWN default set by the former cleaning (value UNKNOWN, no inference provenance, no license2.original) is
  reset to null, in both uses of the cleaning workflow, before license2 is rebuilt from instance.license.
  Source-exposed UNKNOWN values (license2.original available) are preserved
* the license cleaning is performed by the 2nd use of the workflow only (deepClean=true): the instances merged
  in between the two uses don't carry over license2, so the cleaned value would be lost with the original one

Replayed on 03_graph_cleaned (output of the 1st use run from main): 532M instances reset to null, none of the other
instances changes, 15 source-exposed UNKNOWN values preserved.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/CleanGraphSparkJob.java
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/CleaningRuleMap.java
The file was modifieddhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/GraphCleaningFunctions.java
The file was modifieddhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/clean/GraphCleaningFunctionsTest.java
The file was modifieddhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/clean/CleanGraphSparkJobTest.java
Commit bb770af85850d4051f0cb514e5ea2d475c014c75 by sandro
updated collector plugin of DBLP that download the latest dump each time
The file was modifieddhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/collection/plugin/dblp/DBLPCollectorPlugin.java
Commit e5ec1086fd956261613c70eb25bfdfc1b99a096e by sandro
DBLPCollectorPlugin: safer automatic download of the DBLP dump

- fail with an explicit error on non-200 responses or empty body
- download into a .tmp file and rename it only when complete, so the
  previous dump is preserved if the download fails
- close HTTP response and output stream with try-with-resources and
  remove the tmp file on failure
- baseUrl accepts either an http(s) URL (automatic download) or an HDFS
  path (manual upload), keeping existing configurations working
- downloadItem throws IOException, collect() wraps it in CollectorException
- static logger, drop redundant flush/hflush and connectionRequestTimeout,
  use hadoop IOUtils.copyBytes, reorder imports
The file was modifieddhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/collection/plugin/dblp/DBLPCollectorPlugin.java
Commit 78a8eb3748ae8dd761358b9fe802c2368d77e237 by Michele Artini
fixed a problem with the new validation model classes
The file was modifieddhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/collection/GenerateNativeStoreSparkJob.java