{
  "_class" : "org.jenkinsci.plugins.workflow.job.WorkflowRun",
  "actions" : [
    {
      "_class" : "hudson.model.ParametersAction",
      "parameters" : [
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "PROJECT_REPO",
          "value" : "https://code-repo.d4science.org/OpenAIRE/dhp-graph-stats"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "PROJECT_REPO_BRANCH",
          "value" : "main"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "DEPLOYMENT_ROOT_DIR",
          "value" : "/lib/dnet/PROD"
        }
      ]
    },
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "hudson.model.Cause$UserIdCause",
          "shortDescription" : "Started by user Antonis Lempesis",
          "userId" : "antonis.lempesis",
          "userName" : "Antonis Lempesis"
        }
      ]
    },
    {
      "_class" : "org.jenkinsci.plugins.workflow.libs.LibrariesAction"
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "refs/remotes/origin/main" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 56,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
            "branch" : [
              {
                "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
                "name" : "refs/remotes/origin/main"
              }
            ]
          },
          "revision" : {
            "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
            "branch" : [
              {
                "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
                "name" : "refs/remotes/origin/main"
              }
            ]
          }
        },
        "refs/remotes/origin/usage_stats_deployment" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 28,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "89c9b7aea127a2d1d15fce9f90735f09282e638b",
            "branch" : [
              {
                "SHA1" : "89c9b7aea127a2d1d15fce9f90735f09282e638b",
                "name" : "refs/remotes/origin/usage_stats_deployment"
              }
            ]
          },
          "revision" : {
            "SHA1" : "89c9b7aea127a2d1d15fce9f90735f09282e638b",
            "branch" : [
              {
                "SHA1" : "89c9b7aea127a2d1d15fce9f90735f09282e638b",
                "name" : "refs/remotes/origin/usage_stats_deployment"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
        "branch" : [
          {
            "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
            "name" : "refs/remotes/origin/main"
          }
        ]
      },
      "remoteUrls" : [
        "gitea@code-repo.d4science.org:OpenAIRE/dhp-graph-stats.git"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.workflow.cps.EnvActionImpl"
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "refs/remotes/origin/main" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 56,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
            "branch" : [
              {
                "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
                "name" : "refs/remotes/origin/main"
              }
            ]
          },
          "revision" : {
            "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
            "branch" : [
              {
                "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
                "name" : "refs/remotes/origin/main"
              }
            ]
          }
        },
        "refs/remotes/origin/main_202606" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 42,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "e3bb05274969795d0cc98c7ad070b0140563ab52",
            "branch" : [
              {
                "SHA1" : "e3bb05274969795d0cc98c7ad070b0140563ab52",
                "name" : "refs/remotes/origin/main_202606"
              }
            ]
          },
          "revision" : {
            "SHA1" : "e3bb05274969795d0cc98c7ad070b0140563ab52",
            "branch" : [
              {
                "SHA1" : "e3bb05274969795d0cc98c7ad070b0140563ab52",
                "name" : "refs/remotes/origin/main_202606"
              }
            ]
          }
        },
        "refs/remotes/origin/usage_stats_deployment" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 28,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "89c9b7aea127a2d1d15fce9f90735f09282e638b",
            "branch" : [
              {
                "SHA1" : "89c9b7aea127a2d1d15fce9f90735f09282e638b",
                "name" : "refs/remotes/origin/usage_stats_deployment"
              }
            ]
          },
          "revision" : {
            "SHA1" : "89c9b7aea127a2d1d15fce9f90735f09282e638b",
            "branch" : [
              {
                "SHA1" : "89c9b7aea127a2d1d15fce9f90735f09282e638b",
                "name" : "refs/remotes/origin/usage_stats_deployment"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
        "branch" : [
          {
            "SHA1" : "7f4d09eda5c84007a7f75b16c54282e5ec5775b3",
            "name" : "refs/remotes/origin/main"
          }
        ]
      },
      "remoteUrls" : [
        "https://code-repo.d4science.org/OpenAIRE/dhp-graph-stats"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    },
    {
      "_class" : "org.jenkinsci.plugins.pipeline.modeldefinition.actions.RestartDeclarativePipelineAction"
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.workflow.job.views.FlowGraphAction"
    },
    {
      
    },
    {
      
    },
    {
      
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#56",
  "duration" : 256072,
  "estimatedDuration" : 426887,
  "executor" : None,
  "fullDisplayName" : "dhp-graph-stats_CD #56",
  "id" : "56",
  "keepLog" : False,
  "number" : 56,
  "queueId" : 69958,
  "result" : "SUCCESS",
  "timestamp" : 1795130203971,
  "url" : "https://jenkins-dnet.d4science.org/view/all/job/dhp-graph-stats_CD/56/",
  "changeSets" : [
    {
      "_class" : "hudson.plugins.git.GitChangeSetList",
      "items" : [
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/copyDataToImpalaCluster_v2.sh",
            "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/copyDataToImpalaCluster_v2.sh"
          ],
          "commitId" : "8e6cd8f26bf229eebe6136ceb2588c768858d779",
          "timestamp" : 1793144302000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "copyDataToImpalaCluster_v2: collect view DDLs in one hive session per DB\u000a\u000aA hive CLI call costs ~7 s of startup. B4 ran one 'show create table' call\u000aper view (1665 views in a full run, ~3 h). All statements of a DB now go in\u000aone 'hive -f' session, each preceded by a 'select' marker line to tie the\u000aoutput to the view; hive.cli.errors.ignore keeps one bad entity from\u000astopping the rest; a view that comes back empty is retried alone (old path).\u000a\u000aTested read-only on monitor_20261028_ris_tail (176 views): 82 s instead of\u000aabout 26 min; output identical to the old method on a 5-view sample.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-10-28 01:38:22 +0200",
          "id" : "8e6cd8f26bf229eebe6136ceb2588c768858d779",
          "msg" : "copyDataToImpalaCluster_v2: collect view DDLs in one hive session per DB",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/copyDataToImpalaCluster_v2.sh"
            },
            {
              "editType" : "edit",
              "file" : "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/copyDataToImpalaCluster_v2.sh"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql"
          ],
          "commitId" : "278c153d7fb9ed19ea1b9f761737ec64e88d7301",
          "timestamp" : 1793283676000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "perf(step20): add COALESCE(100) hint to all monitor CREATE TABLE AS SELECT\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-10-29 16:21:16 +0200",
          "id" : "278c153d7fb9ed19ea1b9f761737ec64e88d7301",
          "msg" : "perf(step20): add COALESCE(100) hint to all monitor CREATE TABLE AS SELECT",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step7.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step10.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step8.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step15_5.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step16_5.sql"
          ],
          "commitId" : "55c37e535e1f135a9e5fe0217ac03ea7ecd58591",
          "timestamp" : 1793311738000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "perf(stats): add COALESCE(100) hint to remaining CTAS in step7, 8, 10, 15_5, 16_5\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-10-30 00:08:58 +0200",
          "id" : "55c37e535e1f135a9e5fe0217ac03ea7ecd58591",
          "msg" : "perf(stats): add COALESCE(100) hint to remaining CTAS in step7, 8, 10, 15_5, 16_5",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step7.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step10.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step15_5.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step8.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step16_5.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDBTest.java",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/contexts.sh",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml",
            "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDB.java"
          ],
          "commitId" : "776c17056486ab923ce11bae4acedb8ea41542f8",
          "timestamp" : 1793353736000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "feat(stats): replace Contexts hive shell step with Spark ContextsDB job\u000a\u000aDownloads contexts/categories/concepts from the context API in the driver\u000aand writes the context, category and concept parquet tables via Spark SQL\u000a(COALESCE(100), drop-if-exists so restarts are idempotent). Removes contexts.sh.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-10-30 11:48:56 +0200",
          "id" : "776c17056486ab923ce11bae4acedb8ea41542f8",
          "msg" : "feat(stats): replace Contexts hive shell step with Spark ContextsDB job",
          "paths" : [
            {
              "editType" : "add",
              "file" : "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDB.java"
            },
            {
              "editType" : "delete",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/contexts.sh"
            },
            {
              "editType" : "add",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDBTest.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/MonitorDB.java",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql",
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
          ],
          "commitId" : "17f00193b380fde866d0cacc5f783dc28207b186",
          "timestamp" : 1793488452000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "feat(step20): make monitor COALESCE configurable via --coalesce, sized per monitor db\u000a\u000astep20 scripts now use COALESCE(${coalesce}); MonitorDB substitutes the\u000a--coalesce arg (default 100). Values per action in workflow.xml derived from\u000aper-table sizes of the 20261028 prod monitor dbs (target ~128MB/file).\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-01 01:14:12 +0200",
          "id" : "17f00193b380fde866d0cacc5f783dc28207b186",
          "msg" : "feat(step20): make monitor COALESCE configurable via --coalesce, sized per monitor db",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/MonitorDB.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql"
            },
            {
              "editType" : "add",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/monitor.sh"
          ],
          "commitId" : "cf96244034aa407dcf60694576306d5ad0e74ebf",
          "timestamp" : 1793488796000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "chore(stats): remove unused monitor.sh\u000a\u000aSuperseded by MonitorDB (Spark); no workflow action references it, and it\u000awould not substitute the new ${coalesce} placeholder in the step20 scripts.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-01 01:19:56 +0200",
          "id" : "cf96244034aa407dcf60694576306d5ad0e74ebf",
          "msg" : "chore(stats): remove unused monitor.sh",
          "paths" : [
            {
              "editType" : "delete",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/monitor.sh"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
          ],
          "commitId" : "391516a7b940f8cdca996979d046211ad77e66ae",
          "timestamp" : 1793608928000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "fix(step20): raise --coalesce for distinct-heavy monitor dbs to avoid OOM\u000a\u000astep20-monitor-funded failed with SparkOutOfMemoryError while writing result\u000awith COALESCE(4) (job 0016815). Raise funded 4->16, institutions 6->24,\u000ait 4->16, jp 14->56, europe 33->100; the ri/ie/gr values are unchanged.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-02 10:42:08 +0200",
          "id" : "391516a7b940f8cdca996979d046211ad77e66ae",
          "msg" : "fix(step20): raise --coalesce for distinct-heavy monitor dbs to avoid OOM",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql",
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
          ],
          "commitId" : "49104997fb3c131609ab79321b6aaba7c6aff1d2",
          "timestamp" : 1793610485000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "fix(step20): use REPARTITION(n) instead of COALESCE(n) in monitor CTAS, restore sized --coalesce\u000a\u000aCOALESCE(n) has no shuffle, so the whole join+distinct of the monitor result\u000aran in n tasks and hit SparkOutOfMemoryError (step20-monitor-funded, jobs\u000a0016815 and 0016817, also with n=16). REPARTITION(n) keeps the join/aggregate\u000aat full parallelism and only the write stage has n tasks.\u000a\u000aTested by hand with the workflow's spark settings (3840 shuffle partitions,\u000a6G executors): funded result with REPARTITION(16) took 84 s, 6189971 rows, 16\u000afiles, 855 MB. Reverts the per-db values of 391516a to the sized ones\u000a(funded 4, institutions 6, it 4, jp 14, europe 33); MonitorCoalesceTest updated.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-02 11:08:05 +0200",
          "id" : "49104997fb3c131609ab79321b6aaba7c6aff1d2",
          "msg" : "fix(step20): use REPARTITION(n) instead of COALESCE(n) in monitor CTAS, restore sized --coalesce",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql",
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
          ],
          "commitId" : "5eaf62e6ec5005c2749a50883ed1f521a3f8e78f",
          "timestamp" : 1793655826000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "stats: keep COALESCE hint for multi-join step20 scripts (flat, ie_hist)\u000a\u000aREPARTITION(1) over the 28-way sort-merge-join chain of ie_flat runs out of\u000aexecution memory (tested: fails with 3840 and 200 shuffle partitions, COALESCE(1)\u000asucceeds). Same for ie_hist scripts as a precaution.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-02 23:43:46 +0200",
          "id" : "5eaf62e6ec5005c2749a50883ed1f521a3f8e78f",
          "msg" : "stats: keep COALESCE hint for multi-join step20 scripts (flat, ie_hist)",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/config-default.xml",
            "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/copyDataToImpalaCluster_v2.sh",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/copyDataToImpalaCluster_v2.sh"
          ],
          "commitId" : "b3fdf3c4a9b95beb48a84ad66f6e9b0c2a26d5e2",
          "timestamp" : 1793728742000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "stats: SKIP_COPY resume mode and DB de-duplication in copyDataToImpalaCluster_v2.sh\u000a\u000aSKIP_COPY=1 (job property skip_copy, default 0) skips drop/rm/distcp/chmod and\u000akeeps the Impala tables that already exist, and creates views with IF NOT EXISTS.\u000aIt lets step22 resume after a run that copied every DB but died in the view step.\u000aDuplicate DB names are now processed once (usage_stats_db_name equal to the\u000ahard-coded openaire_prod_usage_stats made Step C die on 'Table already exists').\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-03 19:59:02 +0200",
          "id" : "b3fdf3c4a9b95beb48a84ad66f6e9b0c2a26d5e2",
          "msg" : "stats: SKIP_COPY resume mode and DB de-duplication in copyDataToImpalaCluster_v2.sh",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/copyDataToImpalaCluster_v2.sh"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/config-default.xml"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/copyDataToImpalaCluster_v2.sh"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ObservatoryDB.java",
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ObservatorySqlTest.java",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step21-createObservatoryDB.sql"
          ],
          "commitId" : "622b5a6cf8f2018ea8006662c49a3799a178d80b",
          "timestamp" : 1794266293000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "fix(stats): keep the stats views in the observatory DB\u000a\u000aObservatoryDB drops and creates the target DB and then creates a view for\u000aevery stats table before it runs step21-createObservatoryDB.sql. Commit\u000a5a930e6 added a second drop/create database to the head of that script, which\u000awiped the views, so the observatory DB only kept the 19 tables built by the\u000ascript (174 views were missing in openaire_prod_stats_observatory_20261028).\u000a\u000aRemove the drop/create from the script (the Java class owns it) and add a test\u000athat keeps them out.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-10 01:18:13 +0200",
          "id" : "622b5a6cf8f2018ea8006662c49a3799a178d80b",
          "msg" : "fix(stats): keep the stats views in the observatory DB",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ObservatoryDB.java"
            },
            {
              "editType" : "add",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ObservatorySqlTest.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step21-createObservatoryDB.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step6.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql"
          ],
          "commitId" : "00ada7501a1c270767354ee80c63c4eaf4ef6318",
          "timestamp" : 1794348180000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "feat(stats): add project_funder table, fix funder.country, expose in monitor DBs\u000a\u000a- funder.country now read from the exploded funder (fund), not fundingtree[0]\u000a- new project_funder(id, funder_id, funder_name, shortname, country,\u000a  funding_lvl0..2): one row per project and funding tree, so every funder of\u000a  a project is represented, not only the first tree's\u000a- monitor DBs expose it as a view (observatory DB picks it up automatically\u000a  since it views every stats table)\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-11 00:03:00 +0200",
          "id" : "00ada7501a1c270767354ee80c63c4eaf4ef6318",
          "msg" : "feat(stats): add project_funder table, fix funder.country, expose in monitor DBs",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step6.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/scripts/step20-createMonitorDB.sql",
            "dhp-sciance-stats/README.md"
          ],
          "commitId" : "953446e990e24a86fdc7428031c15c9d3b19abb0",
          "timestamp" : 1794348267000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "feat(sciance): expose project_funder view; document stats_db_name requirement\u000a\u000aOnly the single view line is added: the sciance copy of step20-createMonitorDB.sql has\u000ano ${coalesce} placeholders and ScianceStatsDB does not substitute them.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-11 00:04:27 +0200",
          "id" : "953446e990e24a86fdc7428031c15c9d3b19abb0",
          "msg" : "feat(sciance): expose project_funder view; document stats_db_name requirement",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-sciance-stats/README.md"
            },
            {
              "editType" : "edit",
              "file" : "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/scripts/step20-createMonitorDB.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDBTest.java",
            "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDB.java"
          ],
          "commitId" : "69dbe1b8a0ac52e7fb06cf766776eb8a3954a19b",
          "timestamp" : 1794361339000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "fix(contexts): replace Java 9 InputStream.readAllBytes with Java 8 read loop\u000a\u000aThe cluster runs Java 8; ContextsDB failed with NoSuchMethodError\u000ajava.io.InputStream.readAllBytes(). Also drop List.of from ContextsDBTest so the\u000amodule builds and tests on JDK 8.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-11 03:42:19 +0200",
          "id" : "69dbe1b8a0ac52e7fb06cf766776eb8a3954a19b",
          "msg" : "fix(contexts): replace Java 9 InputStream.readAllBytes with Java 8 read loop",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDB.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDBTest.java"
            }
          ]
        }
      ],
      "kind" : "git"
    },
    {
      "_class" : "hudson.plugins.git.GitChangeSetList",
      "items" : [
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/copyDataToImpalaCluster_v2.sh",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/copyDataToImpalaCluster_v2.sh"
          ],
          "commitId" : "8e6cd8f26bf229eebe6136ceb2588c768858d779",
          "timestamp" : 1793144302000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "copyDataToImpalaCluster_v2: collect view DDLs in one hive session per DB\u000a\u000aA hive CLI call costs ~7 s of startup. B4 ran one 'show create table' call\u000aper view (1665 views in a full run, ~3 h). All statements of a DB now go in\u000aone 'hive -f' session, each preceded by a 'select' marker line to tie the\u000aoutput to the view; hive.cli.errors.ignore keeps one bad entity from\u000astopping the rest; a view that comes back empty is retried alone (old path).\u000a\u000aTested read-only on monitor_20261028_ris_tail (176 views): 82 s instead of\u000aabout 26 min; output identical to the old method on a 5-view sample.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-10-28 01:38:22 +0200",
          "id" : "8e6cd8f26bf229eebe6136ceb2588c768858d779",
          "msg" : "copyDataToImpalaCluster_v2: collect view DDLs in one hive session per DB",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/copyDataToImpalaCluster_v2.sh"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/copyDataToImpalaCluster_v2.sh"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql"
          ],
          "commitId" : "278c153d7fb9ed19ea1b9f761737ec64e88d7301",
          "timestamp" : 1793283676000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "perf(step20): add COALESCE(100) hint to all monitor CREATE TABLE AS SELECT\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-10-29 16:21:16 +0200",
          "id" : "278c153d7fb9ed19ea1b9f761737ec64e88d7301",
          "msg" : "perf(step20): add COALESCE(100) hint to all monitor CREATE TABLE AS SELECT",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step7.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step8.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step10.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step15_5.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step16_5.sql"
          ],
          "commitId" : "55c37e535e1f135a9e5fe0217ac03ea7ecd58591",
          "timestamp" : 1793311738000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "perf(stats): add COALESCE(100) hint to remaining CTAS in step7, 8, 10, 15_5, 16_5\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-10-30 00:08:58 +0200",
          "id" : "55c37e535e1f135a9e5fe0217ac03ea7ecd58591",
          "msg" : "perf(stats): add COALESCE(100) hint to remaining CTAS in step7, 8, 10, 15_5, 16_5",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step7.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step8.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step15_5.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step16_5.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step10.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDBTest.java",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/contexts.sh",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml",
            "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDB.java"
          ],
          "commitId" : "776c17056486ab923ce11bae4acedb8ea41542f8",
          "timestamp" : 1793353736000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "feat(stats): replace Contexts hive shell step with Spark ContextsDB job\u000a\u000aDownloads contexts/categories/concepts from the context API in the driver\u000aand writes the context, category and concept parquet tables via Spark SQL\u000a(COALESCE(100), drop-if-exists so restarts are idempotent). Removes contexts.sh.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-10-30 11:48:56 +0200",
          "id" : "776c17056486ab923ce11bae4acedb8ea41542f8",
          "msg" : "feat(stats): replace Contexts hive shell step with Spark ContextsDB job",
          "paths" : [
            {
              "editType" : "delete",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/contexts.sh"
            },
            {
              "editType" : "add",
              "file" : "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDB.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
            },
            {
              "editType" : "add",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDBTest.java"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/MonitorDB.java",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql",
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
          ],
          "commitId" : "17f00193b380fde866d0cacc5f783dc28207b186",
          "timestamp" : 1793488452000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "feat(step20): make monitor COALESCE configurable via --coalesce, sized per monitor db\u000a\u000astep20 scripts now use COALESCE(${coalesce}); MonitorDB substitutes the\u000a--coalesce arg (default 100). Values per action in workflow.xml derived from\u000aper-table sizes of the 20261028 prod monitor dbs (target ~128MB/file).\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-01 01:14:12 +0200",
          "id" : "17f00193b380fde866d0cacc5f783dc28207b186",
          "msg" : "feat(step20): make monitor COALESCE configurable via --coalesce, sized per monitor db",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql"
            },
            {
              "editType" : "add",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/MonitorDB.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/monitor.sh"
          ],
          "commitId" : "cf96244034aa407dcf60694576306d5ad0e74ebf",
          "timestamp" : 1793488796000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "chore(stats): remove unused monitor.sh\u000a\u000aSuperseded by MonitorDB (Spark); no workflow action references it, and it\u000awould not substitute the new ${coalesce} placeholder in the step20 scripts.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-01 01:19:56 +0200",
          "id" : "cf96244034aa407dcf60694576306d5ad0e74ebf",
          "msg" : "chore(stats): remove unused monitor.sh",
          "paths" : [
            {
              "editType" : "delete",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/monitor.sh"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
          ],
          "commitId" : "391516a7b940f8cdca996979d046211ad77e66ae",
          "timestamp" : 1793608928000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "fix(step20): raise --coalesce for distinct-heavy monitor dbs to avoid OOM\u000a\u000astep20-monitor-funded failed with SparkOutOfMemoryError while writing result\u000awith COALESCE(4) (job 0016815). Raise funded 4->16, institutions 6->24,\u000ait 4->16, jp 14->56, europe 33->100; the ri/ie/gr values are unchanged.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-02 10:42:08 +0200",
          "id" : "391516a7b940f8cdca996979d046211ad77e66ae",
          "msg" : "fix(step20): raise --coalesce for distinct-heavy monitor dbs to avoid OOM",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql",
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
          ],
          "commitId" : "49104997fb3c131609ab79321b6aaba7c6aff1d2",
          "timestamp" : 1793610485000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "fix(step20): use REPARTITION(n) instead of COALESCE(n) in monitor CTAS, restore sized --coalesce\u000a\u000aCOALESCE(n) has no shuffle, so the whole join+distinct of the monitor result\u000aran in n tasks and hit SparkOutOfMemoryError (step20-monitor-funded, jobs\u000a0016815 and 0016817, also with n=16). REPARTITION(n) keeps the join/aggregate\u000aat full parallelism and only the write stage has n tasks.\u000a\u000aTested by hand with the workflow's spark settings (3840 shuffle partitions,\u000a6G executors): funded result with REPARTITION(16) took 84 s, 6189971 rows, 16\u000afiles, 855 MB. Reverts the per-db values of 391516a to the sized ones\u000a(funded 4, institutions 6, it 4, jp 14, europe 33); MonitorCoalesceTest updated.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-02 11:08:05 +0200",
          "id" : "49104997fb3c131609ab79321b6aaba7c6aff1d2",
          "msg" : "fix(step20): use REPARTITION(n) instead of COALESCE(n) in monitor CTAS, restore sized --coalesce",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs_tail.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_RIs.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_country.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_continent.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_funded.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createIrishDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_institutions.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql",
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql"
          ],
          "commitId" : "5eaf62e6ec5005c2749a50883ed1f521a3f8e78f",
          "timestamp" : 1793655826000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "stats: keep COALESCE hint for multi-join step20 scripts (flat, ie_hist)\u000a\u000aREPARTITION(1) over the 28-way sort-merge-join chain of ie_flat runs out of\u000aexecution memory (tested: fails with 3840 and 200 shuffle partitions, COALESCE(1)\u000asucceeds). Same for ie_hist scripts as a precaution.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-02 23:43:46 +0200",
          "id" : "5eaf62e6ec5005c2749a50883ed1f521a3f8e78f",
          "msg" : "stats: keep COALESCE hint for multi-join step20 scripts (flat, ie_hist)",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/MonitorCoalesceTest.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_flat.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist_init.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB_ie_hist.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/config-default.xml",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/copyDataToImpalaCluster_v2.sh",
            "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/copyDataToImpalaCluster_v2.sh"
          ],
          "commitId" : "b3fdf3c4a9b95beb48a84ad66f6e9b0c2a26d5e2",
          "timestamp" : 1793728742000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "stats: SKIP_COPY resume mode and DB de-duplication in copyDataToImpalaCluster_v2.sh\u000a\u000aSKIP_COPY=1 (job property skip_copy, default 0) skips drop/rm/distcp/chmod and\u000akeeps the Impala tables that already exist, and creates views with IF NOT EXISTS.\u000aIt lets step22 resume after a run that copied every DB but died in the view step.\u000aDuplicate DB names are now processed once (usage_stats_db_name equal to the\u000ahard-coded openaire_prod_usage_stats made Step C die on 'Table already exists').\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-03 19:59:02 +0200",
          "id" : "b3fdf3c4a9b95beb48a84ad66f6e9b0c2a26d5e2",
          "msg" : "stats: SKIP_COPY resume mode and DB de-duplication in copyDataToImpalaCluster_v2.sh",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/config-default.xml"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/copyDataToImpalaCluster_v2.sh"
            },
            {
              "editType" : "edit",
              "file" : "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/copyDataToImpalaCluster_v2.sh"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ObservatorySqlTest.java",
            "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ObservatoryDB.java",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step21-createObservatoryDB.sql"
          ],
          "commitId" : "622b5a6cf8f2018ea8006662c49a3799a178d80b",
          "timestamp" : 1794266293000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "fix(stats): keep the stats views in the observatory DB\u000a\u000aObservatoryDB drops and creates the target DB and then creates a view for\u000aevery stats table before it runs step21-createObservatoryDB.sql. Commit\u000a5a930e6 added a second drop/create database to the head of that script, which\u000awiped the views, so the observatory DB only kept the 19 tables built by the\u000ascript (174 views were missing in openaire_prod_stats_observatory_20261028).\u000a\u000aRemove the drop/create from the script (the Java class owns it) and add a test\u000athat keeps them out.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-10 01:18:13 +0200",
          "id" : "622b5a6cf8f2018ea8006662c49a3799a178d80b",
          "msg" : "fix(stats): keep the stats views in the observatory DB",
          "paths" : [
            {
              "editType" : "add",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ObservatorySqlTest.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ObservatoryDB.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step21-createObservatoryDB.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step6.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql",
            "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql"
          ],
          "commitId" : "00ada7501a1c270767354ee80c63c4eaf4ef6318",
          "timestamp" : 1794348180000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "feat(stats): add project_funder table, fix funder.country, expose in monitor DBs\u000a\u000a- funder.country now read from the exploded funder (fund), not fundingtree[0]\u000a- new project_funder(id, funder_id, funder_name, shortname, country,\u000a  funding_lvl0..2): one row per project and funding tree, so every funder of\u000a  a project is represented, not only the first tree's\u000a- monitor DBs expose it as a view (observatory DB picks it up automatically\u000a  since it views every stats table)\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-11 00:03:00 +0200",
          "id" : "00ada7501a1c270767354ee80c63c4eaf4ef6318",
          "msg" : "feat(stats): add project_funder table, fix funder.country, expose in monitor DBs",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDBAll.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step6.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/scripts/step20-createMonitorDB.sql"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/scripts/step20-createMonitorDB.sql",
            "dhp-sciance-stats/README.md"
          ],
          "commitId" : "953446e990e24a86fdc7428031c15c9d3b19abb0",
          "timestamp" : 1794348267000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "feat(sciance): expose project_funder view; document stats_db_name requirement\u000a\u000aOnly the single view line is added: the sciance copy of step20-createMonitorDB.sql has\u000ano ${coalesce} placeholders and ScianceStatsDB does not substitute them.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-11 00:04:27 +0200",
          "id" : "953446e990e24a86fdc7428031c15c9d3b19abb0",
          "msg" : "feat(sciance): expose project_funder view; document stats_db_name requirement",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-sciance-stats/src/main/resources/eu/dnetlib/dhp/oa/graph/sciance-stats/oozie_app/scripts/step20-createMonitorDB.sql"
            },
            {
              "editType" : "edit",
              "file" : "dhp-sciance-stats/README.md"
            }
          ]
        },
        {
          "_class" : "hudson.plugins.git.GitChangeSet",
          "affectedPaths" : [
            "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDBTest.java",
            "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDB.java"
          ],
          "commitId" : "69dbe1b8a0ac52e7fb06cf766776eb8a3954a19b",
          "timestamp" : 1794361339000,
          "author" : {
            "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
            "fullName" : "Antonis Lempesis"
          },
          "authorEmail" : "antleb@di.uoa.gr",
          "comment" : "fix(contexts): replace Java 9 InputStream.readAllBytes with Java 8 read loop\u000a\u000aThe cluster runs Java 8; ContextsDB failed with NoSuchMethodError\u000ajava.io.InputStream.readAllBytes(). Also drop List.of from ContextsDBTest so the\u000amodule builds and tests on JDK 8.\u000a\u000aCo-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>\u000a",
          "date" : "2026-11-11 03:42:19 +0200",
          "id" : "69dbe1b8a0ac52e7fb06cf766776eb8a3954a19b",
          "msg" : "fix(contexts): replace Java 9 InputStream.readAllBytes with Java 8 read loop",
          "paths" : [
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/main/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDB.java"
            },
            {
              "editType" : "edit",
              "file" : "dhp-stats-update/src/test/java/eu/dnetlib/dhp/oa/graph/stats/ContextsDBTest.java"
            }
          ]
        }
      ],
      "kind" : "git"
    }
  ],
  "culprits" : [
    {
      "absoluteUrl" : "https://jenkins-dnet.d4science.org/user/antonis.lempesis",
      "fullName" : "Antonis Lempesis"
    }
  ],
  "inProgress" : False,
  "nextBuild" : None,
  "previousBuild" : {
    "number" : 55,
    "url" : "https://jenkins-dnet.d4science.org/view/all/job/dhp-graph-stats_CD/55/"
  }
}