Console Output

+ cd dhp-graph-stats/dhp-stats-promote
+ mvn clean package -Poozie-package,deploy -Dworkflow.source.dir=eu/dnetlib/dhp/oa/graph/stats -DdhpConnectionProperties=/var/lib/jenkins/workspace/dhp-graph-stats_CD/CD/iis-cdh5-test-gw.properties -DskipTests -Dmaven.repo.local=/var/lib/jenkins/workspace/dhp-graph-stats_CD@tmp/.m2
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eu.dnetlib.dhp:dhp-stats-promote:jar:2.0.0-SNAPSHOT
[WARNING] 'parent.relativePath' of POM eu.dnetlib.dhp:dhp-graph-stats:2.0.0-SNAPSHOT (/var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/pom.xml) points at eu.dnetlib.dhp:dhp-graph-stats instead of eu.dnetlib.dhp:dhp-workflows, please verify your project structure @ eu.dnetlib.dhp:dhp-graph-stats:2.0.0-SNAPSHOT, /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/pom.xml, line 7, column 13
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------< eu.dnetlib.dhp:dhp-stats-promote >------------------
[INFO] Building dhp-stats-promote 2.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dhp-stats-promote ---
[INFO] Deleting /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target
[INFO] 
[INFO] --- dhp-build-properties-maven-plugin:1.2.5:generate-properties (default) @ dhp-stats-promote ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-connection-properties-file-existence) @ dhp-stats-promote ---
[INFO] 
[INFO] --- properties-maven-plugin:2.0.1:read-project-properties (reading-dhp-properties) @ dhp-stats-promote ---
[INFO] Loading /var/lib/jenkins/workspace/dhp-graph-stats_CD/CD/iis-cdh5-test-gw.properties
[INFO] 
[INFO] --- git-commit-id-plugin:2.1.11:revision (default) @ dhp-stats-promote ---
[info] dotGitDirectory /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/.git
[info] git.build.user.name null
[info] git.build.user.email null
[info] Using environment variable based branch name. GIT_BRANCH = origin/main
[info] git.branch origin/main
[info] Tag refs [ [] ]
[info] Created map: [ {} ] 
[info] HEAD is [ a35e6d7273bb9ba082f639643aefa5fb78eef765 ] 
[info] Repo is in dirty state [ false ]
[info] git.commit.id.describe a35e6d7
[info] git.commit.id a35e6d7273bb9ba082f639643aefa5fb78eef765
[info] git.commit.id.abbrev a35e6d7
[info] git.commit.user.name Antonis Lempesis
[info] git.commit.user.email antleb@di.uoa.gr
[info] git.commit.message.full fix(step22): skip non-parquet tables instead of failing the whole impala copy

"create table ... like parquet '<first file>'" needs a real parquet file. The
Ocean DB stats_ext holds four text tables (foo with CWTS.csv, and
rndgdpexpenditure_new, totalresearchers_new, totalresearchersft_new), so step22
died there (job 0012662, 2026-10-07: "File is not a parquet file:
.../stats_ext.db/foo/CWTS.csv") after dropping stats_ext on Impala, leaving
only the 8 tables created before foo and breaking the stats DB views over
stats_ext (fundref, hrrst, totalresearchers, ...).

Check the PAR1 magic of the chosen file; skip non-parquet tables with a WARN,
leave them out of compute stats and out of the Ocean/Impala entity count check.
Scanned all 27 DBs of the copy list: these four are the only such tables.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

[info] git.commit.message.short fix(step22): skip non-parquet tables instead of failing the whole impala copy
[info] git.commit.time 2026-10-07T19:58:39+0000
[info] git.remote.origin.url https://code-repo.d4science.org/OpenAIRE/dhp-graph-stats
[info] git.tags 
[info] git.build.time 2026-10-07T22:14:29+0000
[info] git.commit.id.describe-short a35e6d7
[info] found property git.tags
[info] found property git.commit.id.abbrev
[info] found property git.commit.user.email
[info] found property git.commit.message.full
[info] found property git.commit.id
[info] found property git.commit.id.describe-short
[info] found property git.commit.message.short
[info] found property git.commit.user.name
[info] found property git.build.user.name
[info] found property git.commit.id.describe
[info] found property git.build.user.email
[info] found property git.branch
[info] found property git.commit.time
[info] found property git.build.time
[info] found property git.remote.origin.url
[info] Writing properties file to [ /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package/oozie_app/version.properties ] (for module  dhp-stats-promote )...
[info] dhp-stats-promote ] project dhp-stats-promote
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ dhp-stats-promote ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (installer-copy-custom) @ dhp-stats-promote ---
[INFO] Executing tasks
    [unjar] Expanding: /var/lib/jenkins/workspace/dhp-graph-stats_CD@tmp/.m2/eu/dnetlib/dhp/dhp-build-assembly-resources/1.2.5/dhp-build-assembly-resources-1.2.5.jar into /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/assembly-resources
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ dhp-stats-promote ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ dhp-stats-promote ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ dhp-stats-promote ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ dhp-stats-promote ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-dependency-plugin:3.6.1:copy-dependencies (copy dependencies) @ dhp-stats-promote ---
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:test-jar (attach-test-resources-package) @ dhp-stats-promote ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- primer-maven-plugin:1.2.0:prime (priming) @ dhp-stats-promote ---
[INFO] Priming eu/dnetlib/dhp/oa/graph/stats into /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/primed
[INFO] 
[INFO] --- properties-maven-plugin:2.0.1:read-project-properties (read-default-properties) @ dhp-stats-promote ---
[INFO] Loading classpath:project-default.properties
[INFO] 
[INFO] --- properties-maven-plugin:2.0.1:read-project-properties (read-job-properties) @ dhp-stats-promote ---
[INFO] 
[INFO] --- dhp-build-properties-maven-plugin:1.2.5:write-project-properties (write-job-properties) @ dhp-stats-promote ---
[INFO] Ignoring non-existent properties file '/var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/primed/job.properties'
[INFO] Ignoring non-existent properties file 'job-override.properties'
[INFO] Creating /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package/job.properties
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ dhp-stats-promote ---
[INFO] Building jar: /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/dhp-stats-promote-2.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-assembly-plugin:3.0.0:single (assembly-oozie-installer) @ dhp-stats-promote ---
[WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible /
[INFO] Copying files to /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package_shell_scripts
[WARNING] Assembly file: /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package_shell_scripts is not a regular file (it may be a directory). It cannot be attached to the project build for installation or deployment.
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (default) @ dhp-stats-promote ---
[INFO] Executing tasks
     [copy] Copying 5 files to /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package/oozie_app
    [mkdir] Created dir: /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package/oozie_app/lib
     [copy] Copying 1 file to /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package/oozie_app/lib
     [copy] Copying 1 file to /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package/oozie_app/lib
      [tar] Building tar: /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package.tar.gz
   [delete] Deleting directory /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package
   [delete] Deleting directory /var/lib/jenkins/workspace/dhp-graph-stats_CD/dhp-graph-stats/dhp-stats-promote/target/oozie-package_shell_scripts
[INFO] Executed tasks
[INFO] 
[INFO] --- exec-maven-plugin:1.5.0:exec (create-target-dir) @ dhp-stats-promote ---
[INFO] 
[INFO] --- exec-maven-plugin:1.5.0:exec (upload-oozie-package) @ dhp-stats-promote ---
[INFO] 
[INFO] --- exec-maven-plugin:1.5.0:exec (extract-and-upload-to-hdfs) @ dhp-stats-promote ---
+ '[' 0 = 0 ']'
++ pwd
+ target_dir_root=/home/git.dnet/oozie-packages/oa/graph/stats/2026-10-07_22_14/oozie_app
+ hadoop fs -rm -r /user/git.dnet/oa/graph/stats
26/10/07 22:14:35 INFO fs.TrashPolicyDefault: Moved: 'hdfs://nameservice1/user/git.dnet/oa/graph/stats' to trash at: hdfs://nameservice1/user/git.dnet/.Trash/Current/user/git.dnet/oa/graph/stats1791411275689
+ hadoop fs -mkdir -p /user/git.dnet/oa/graph/stats
+ hadoop fs -mkdir -p /user/git.dnet/oa/graph/stats/working_dir
+ hadoop fs -put /home/git.dnet/oozie-packages/oa/graph/stats/2026-10-07_22_14/oozie_app /user/git.dnet/oa/graph/stats
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  15.652 s
[INFO] Finished at: 2026-10-07T22:14:42Z
[INFO] ------------------------------------------------------------------------
+ ssh git.dnet@iis-cdh5-test-gw.ocean.icm.edu.pl 
                                    cd /tmp2/git.dnet/dnet-hadoop/PROD/2026-10-07 &&
                                    sh deploy_release.sh oa/graph/stats /lib/dnet/PROD oa/graph/stats_promote
                                    
+ app_dir=oa/graph/stats
+ hdfs_target_root_dir=/lib/dnet/PROD
+ app_target_dir=oa/graph/stats_promote
++ whoami
+ user_name=git.dnet
+ export HADOOP_USER_NAME=hdfs
+ HADOOP_USER_NAME=hdfs
+ hdfs_app_source_dir=/user/git.dnet/oa/graph/stats/oozie_app
+ hdfs_target_dir=/lib/dnet/PROD/oa/graph/stats_promote
+ hdfs dfs -rm -r -f /lib/dnet/PROD/oa/graph/stats_promote
26/10/07 22:14:45 INFO fs.TrashPolicyDefault: Moved: 'hdfs://nameservice1/lib/dnet/PROD/oa/graph/stats_promote' to trash at: hdfs://nameservice1/user/hdfs/.Trash/Current/lib/dnet/PROD/oa/graph/stats_promote
+ hdfs dfs -mkdir -p /lib/dnet/PROD/oa/graph/stats_promote
+ hdfs dfs -mv /user/git.dnet/oa/graph/stats/oozie_app /lib/dnet/PROD/oa/graph/stats_promote