This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 4d598a467a20 fix(ci): give build job families their own Maven cache
and restore the resolver retry settings (#21106)
4d598a467a20 is described below
commit 4d598a467a20531491414f3f8e92f613c8ae4898
Author: voonhous <[email protected]>
AuthorDate: Sat Dec 5 16:21:43 2026 +0000
fix(ci): give build job families their own Maven cache and restore the
resolver retry settings (#21106)
* fix(ci): pass the maven-resolver retry settings under their Maven 3.10
names
The GitHub runner images now ship Maven 3.10.2 with maven-resolver 2.0.26,
which reads the HTTP
transport settings only as aether.transport.http.*. CI passed them only as
aether.connector.http.*,
so on Maven 3.10 every job ran with the default 3 retries 5s apart, and a
burst of 429s from Maven
Central failed the build.
Pass each setting under both names. Resolver 1.x (Maven 3.9) and resolver
2.x each ignore the
other's names, so the same tuning applies on either version.
Closes #21105
* fix(ci): cache each build job family's Maven repository under its own key
setup-java's `cache: maven` keys only by the hash of every pom.xml, so
every job and workflow that
uses it shares one entry and the first job to finish writes it. On forks
the entry was written by
the Trino CI job, which builds no Spark module and runs no `clean` goal.
The Spark 4.2 jobs restored
it, then fetched maven-clean-plugin and their whole dependency set from
Maven Central in parallel
until Central answered 429.
Cache ~/.m2/repository with actions/cache in the Spark 4.2, Spark 3.5 and
Flink build jobs, keyed
by their matrix profiles, so each entry is written by a job with the same
dependencies. restore-keys
lets a pom change start from the family's previous entry instead of an
empty repository.
validate-bundles, integration-tests and the other workflows keep `cache:
maven`. No family job
reads that entry any more.
Refs #21105
* chore(ci): shorten the Maven cache and resolver retry comments
* fix(ci): give each Maven cache key one writer whose build covers its
readers
Jobs sharing a profile key built different reactors, so the first to
finish sealed an entry its siblings could not use. On the fork,
test-utilities-streamer sealed the Spark 3.5 entry and ut-other sealed
the Spark 4.2 entry without the Spark 4.1 dependencies.
Keys now name their writer job. Only the writer saves, after a green
run; the other jobs restore only. Hudi snapshot artifacts are left out
of the cached path.
---
.github/workflows/bot.yml | 159 ++++++++++++++++++---
.github/workflows/hudi_trino_e2e.yml | 4 +-
.github/workflows/maven_artifact_validation.yml | 2 +-
.github/workflows/release_candidate_validation.yml | 2 +-
azure-pipelines-20230430.yml | 3 +-
5 files changed, 149 insertions(+), 21 deletions(-)
diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml
index 97a9b64b4a40..795228eb6b46 100644
--- a/.github/workflows/bot.yml
+++ b/.github/workflows/bot.yml
@@ -60,10 +60,11 @@ concurrency:
env:
# The retry/timeout knobs below are maven-resolver (aether.*) properties.
Maven 3.9 resolves
# artifacts through the native resolver HTTP transport, which ignores the
older maven.wagon.* names.
+ # Each knob is passed twice: aether.connector.http.* (Maven 3.9),
aether.transport.http.* (3.10+).
# serviceUnavailable lists the HTTP codes retried instead of failing the
build. 403 is deliberately
# absent: Maven Central answers 403 when its CDN has blocked the runner's
egress IP, and retrying
# that is what escalates the block.
- MVN_ARGS: -e -ntp -B -V -Dgpg.skip -Djacoco.skip -Pwarn-log
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade=warn
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.dependency=warn
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.interval=3000
-Daether.connector.http.retryHandler.intervalMax=30000
-Daether.connector.http.retryHandler.serviceUnavailable=429,500,502,503,504
-Daether.connector.http.connectionMaxTtl=25 -Dorg.eclipse.jetty.LEVEL=WARN
+ MVN_ARGS: -e -ntp -B -V -Dgpg.skip -Djacoco.skip -Pwarn-log
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade=warn
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.dependency=warn
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.interval=3000
-Daether.connector.http.retryHandler.intervalMax=30000
-Daether.connector.http.retryHandler.serviceUnavailable=429,500,502,503,504
-Daether.connector.http.connectionMaxTtl=25 -Daether.transport.http. [...]
SPARK_COMMON_MODULES:
hudi-spark-datasource/hudi-spark,hudi-spark-datasource/hudi-spark-common
JAVA_UT_FILTER1:
-Dtest=!TestCOWDataSource,!TestMORDataSource,!TestHoodieFileSystemViews
JAVA_UT_FILTER2:
-Dtest=TestCOWDataSource,TestMORDataSource,TestHoodieFileSystemViews
@@ -104,6 +105,10 @@ env:
# is skipped, and a job whose need was skipped is skipped too unless its
condition calls a status
# function, so the route starts with `!cancelled()`. A failed `changes` job
leaves the output
# empty, so the test jobs run.
+#
+# Maven cache: setup-java's `cache: maven` key is shared by every job, so the
first to finish
+# writes it for all (#21105). Here each key names its one writer, a job whose
build covers every
+# job restoring that key. The writer saves only after a green run. Hudi
snapshots are not cached.
jobs:
# Decides on a merge-queue run whether the entry changes only docs and
images, so that the test
# jobs can skip; see DOCS_ONLY above. The excluded patterns are the negated
patterns of the push
@@ -176,7 +181,15 @@ jobs:
java-version: '11'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: &maven-cache-path |
+ ~/.m2/repository
+ !~/.m2/repository/org/apache/hudi/*/*-SNAPSHOT
+ key: maven-${{ runner.os }}-test-spark-client-and-hadoop-common-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ matrix.flinkProfile
}}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-spark-client-and-hadoop-common-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-${{ matrix.flinkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -234,6 +247,12 @@ jobs:
with:
flags: spark-client-hadoop-common
token: ${{ secrets.CODECOV_TOKEN }}
+ - name: Save Maven repository
+ if: steps.maven-cache.outputs.cache-hit != 'true'
+ uses: actions/cache/save@v4
+ with:
+ path: *maven-cache-path
+ key: ${{ steps.maven-cache.outputs.cache-primary-key }}
test-utilities-streamer:
if: *route
@@ -255,7 +274,13 @@ jobs:
java-version: '11'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-common-and-other-modules-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ matrix.flinkProfile
}}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-common-and-other-modules-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-${{ matrix.flinkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -303,7 +328,13 @@ jobs:
java-version: '11'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-common-and-other-modules-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ matrix.flinkProfile
}}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-common-and-other-modules-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-${{ matrix.flinkProfile }}-
- name: Build Project
id: build
env:
@@ -410,7 +441,13 @@ jobs:
java-version: '11'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-common-and-other-modules-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ matrix.flinkProfile
}}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-common-and-other-modules-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-${{ matrix.flinkProfile }}-
- name: Build Docker image
run: docker build -t hudi-ci .
- name: Build Project
@@ -464,6 +501,12 @@ jobs:
with:
flags: common-and-other-modules
token: ${{ secrets.CODECOV_TOKEN }}
+ - name: Save Maven repository
+ if: steps.maven-cache.outputs.cache-hit != 'true'
+ uses: actions/cache/save@v4
+ with:
+ path: *maven-cache-path
+ key: ${{ steps.maven-cache.outputs.cache-primary-key }}
# [CI-TRIM] to revisit for CI improvement
# test-spark-java-tests-part1:
@@ -828,7 +871,13 @@ jobs:
java-version: '17'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-spark-java17-scala-dml-2-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-spark-java17-scala-dml-2-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -890,7 +939,13 @@ jobs:
java-version: '17'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-spark-java17-ut-other-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os }}-test-spark-java17-ut-other-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -923,6 +978,12 @@ jobs:
with:
flags: spark-java-tests
token: ${{ secrets.CODECOV_TOKEN }}
+ - name: Save Maven repository
+ if: steps.maven-cache.outputs.cache-hit != 'true'
+ uses: actions/cache/save@v4
+ with:
+ path: *maven-cache-path
+ key: ${{ steps.maven-cache.outputs.cache-primary-key }}
test-spark-java17-ut-fat-and-ftc:
if: *route
@@ -954,7 +1015,13 @@ jobs:
java-version: '17'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-spark-java17-scala-dml-2-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-spark-java17-scala-dml-2-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -1019,7 +1086,13 @@ jobs:
java-version: '17'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-spark-java17-scala-dml-2-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-spark-java17-scala-dml-2-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -1077,7 +1150,13 @@ jobs:
java-version: '17'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-spark-java17-scala-dml-2-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-spark-java17-scala-dml-2-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -1139,7 +1218,13 @@ jobs:
java-version: '17'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-spark-java17-scala-dml-2-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-spark-java17-scala-dml-2-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -1205,7 +1290,13 @@ jobs:
java-version: '17'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-spark-java17-scala-dml-2-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-spark-java17-scala-dml-2-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -1274,6 +1365,12 @@ jobs:
name: spark-connect-layer3-logs
path: ${{ runner.temp }}/sdp-logs
if-no-files-found: ignore
+ - name: Save Maven repository
+ if: steps.maven-cache.outputs.cache-hit != 'true'
+ uses: actions/cache/save@v4
+ with:
+ path: *maven-cache-path
+ key: ${{ steps.maven-cache.outputs.cache-primary-key }}
# sharedSession + parallel: this shard holds only HoodieSparkSqlTestBase
suites, which share one SparkContext and run two at a time
@@ -1307,7 +1404,13 @@ jobs:
java-version: '17'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-spark-java17-scala-dml-2-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-spark-java17-scala-dml-2-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -1373,7 +1476,13 @@ jobs:
java-version: '17'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-spark-java17-scala-dml-2-${{
matrix.scalaProfile }}-${{ matrix.sparkProfile }}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os
}}-test-spark-java17-scala-dml-2-${{ matrix.scalaProfile }}-${{
matrix.sparkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
@@ -1515,7 +1624,13 @@ jobs:
java-version: '11'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-flink-1-${{ matrix.flinkProfile
}}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os }}-test-flink-1-${{
matrix.flinkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: 'scala-2.12'
@@ -1557,6 +1672,12 @@ jobs:
with:
flags: flink-integration-tests
token: ${{ secrets.CODECOV_TOKEN }}
+ - name: Save Maven repository
+ if: steps.maven-cache.outputs.cache-hit != 'true'
+ uses: actions/cache/save@v4
+ with:
+ path: *maven-cache-path
+ key: ${{ steps.maven-cache.outputs.cache-primary-key }}
test-flink-2:
if: *route
@@ -1577,7 +1698,13 @@ jobs:
java-version: '11'
distribution: 'temurin'
architecture: x64
- cache: maven
+ - name: Restore Maven repository
+ id: maven-cache
+ uses: actions/cache/restore@v4
+ with:
+ path: *maven-cache-path
+ key: maven-${{ runner.os }}-test-flink-1-${{ matrix.flinkProfile
}}-${{ hashFiles('**/pom.xml') }}
+ restore-keys: maven-${{ runner.os }}-test-flink-1-${{
matrix.flinkProfile }}-
- name: Build Project
env:
SCALA_PROFILE: 'scala-2.12'
diff --git a/.github/workflows/hudi_trino_e2e.yml
b/.github/workflows/hudi_trino_e2e.yml
index 9ec8fd393d09..9640c74ef69b 100644
--- a/.github/workflows/hudi_trino_e2e.yml
+++ b/.github/workflows/hudi_trino_e2e.yml
@@ -51,11 +51,11 @@ concurrency:
cancel-in-progress: ${{ !contains(github.ref, 'master') &&
!contains(github.ref, 'release-') }}
env:
- # The aether.connector.http.* retry/timeout knobs are copied verbatim from
bot.yml's
+ # The aether.* retry/timeout knobs are copied verbatim from bot.yml's
# MVN_ARGS: the JDK 17 step below is a cold-cache full-reactor build,
exactly what
# those were added for. They are maven-resolver properties -- Maven 3.9
resolves through
# the native resolver HTTP transport, which ignores the older maven.wagon.*
names.
- MVN_ARGS: -e -ntp -B -V -Dgpg.skip -Djacoco.skip -Pwarn-log
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.interval=3000
-Daether.connector.http.retryHandler.intervalMax=30000
-Daether.connector.http.retryHandler.serviceUnavailable=429,500,502,503,504
-Daether.connector.http.connectionMaxTtl=25
+ MVN_ARGS: -e -ntp -B -V -Dgpg.skip -Djacoco.skip -Pwarn-log
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.interval=3000
-Daether.connector.http.retryHandler.intervalMax=30000
-Daether.connector.http.retryHandler.serviceUnavailable=429,500,502,503,504
-Daether.connector.http.connectionMaxTtl=25
-Daether.transport.http.retryHandler.count=5
-Daether.transport.http.retryHandler.interval=3000
-Daether.transport.http.retryHandler.intervalMax=30000 -Daether [...]
SCALA_PROFILE: -Dscala-2.13 -Dscala.binary.version=2.13
COMPOSE_PREFIX: docker-compose_hadoop340_hive2310_spark402
diff --git a/.github/workflows/maven_artifact_validation.yml
b/.github/workflows/maven_artifact_validation.yml
index f3d09fef423c..9fdf1bc22d38 100644
--- a/.github/workflows/maven_artifact_validation.yml
+++ b/.github/workflows/maven_artifact_validation.yml
@@ -10,7 +10,7 @@ on:
env:
# See .github/workflows/bot.yml for why these are aether.* and not
maven.wagon.* properties.
- MVN_ARGS: -e -ntp -B -V -Dgpg.skip -Djacoco.skip -Pwarn-log
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade=warn
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.dependency=warn
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.interval=3000
-Daether.connector.http.retryHandler.intervalMax=30000
-Daether.connector.http.retryHandler.serviceUnavailable=429,500,502,503,504
-Daether.connector.http.connectionMaxTtl=25
+ MVN_ARGS: -e -ntp -B -V -Dgpg.skip -Djacoco.skip -Pwarn-log
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade=warn
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.dependency=warn
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.interval=3000
-Daether.connector.http.retryHandler.intervalMax=30000
-Daether.connector.http.retryHandler.serviceUnavailable=429,500,502,503,504
-Daether.connector.http.connectionMaxTtl=25 -Daether.transport.http. [...]
SPARK_COMMON_MODULES:
hudi-spark-datasource/hudi-spark,hudi-spark-datasource/hudi-spark-common
jobs:
diff --git a/.github/workflows/release_candidate_validation.yml
b/.github/workflows/release_candidate_validation.yml
index edf29b955bd5..f79176a8e70d 100644
--- a/.github/workflows/release_candidate_validation.yml
+++ b/.github/workflows/release_candidate_validation.yml
@@ -10,7 +10,7 @@ on:
env:
# See .github/workflows/bot.yml for why these are aether.* and not
maven.wagon.* properties.
- MVN_ARGS: -e -ntp -B -V -Dgpg.skip -Djacoco.skip -Pwarn-log
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade=warn
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.dependency=warn
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.interval=3000
-Daether.connector.http.retryHandler.intervalMax=30000
-Daether.connector.http.retryHandler.serviceUnavailable=429,500,502,503,504
-Daether.connector.http.connectionMaxTtl=25
+ MVN_ARGS: -e -ntp -B -V -Dgpg.skip -Djacoco.skip -Pwarn-log
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade=warn
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.dependency=warn
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.interval=3000
-Daether.connector.http.retryHandler.intervalMax=30000
-Daether.connector.http.retryHandler.serviceUnavailable=429,500,502,503,504
-Daether.connector.http.connectionMaxTtl=25 -Daether.transport.http. [...]
SPARK_COMMON_MODULES:
hudi-spark-datasource/hudi-spark,hudi-spark-datasource/hudi-spark-common
jobs:
diff --git a/azure-pipelines-20230430.yml b/azure-pipelines-20230430.yml
index 10913f3305cc..6a472c4fd444 100644
--- a/azure-pipelines-20230430.yml
+++ b/azure-pipelines-20230430.yml
@@ -107,7 +107,8 @@ variables:
# The aether.* properties drive maven-resolver's native HTTP transport
(Maven 3.9+); the
# maven.wagon.* ones are kept because this image's Maven version is not
pinned and Maven 3.8
# resolves through wagon, which reads only the latter. Each set is ignored
by the other transport.
- MVN_OPTS_INSTALL: '-T 3 -Phudi-platform-service -DskipTests
$(BUILD_PROFILES) $(PLUGIN_OPTS)
-Dmaven.wagon.httpconnectionManager.ttlSeconds=25
-Dmaven.wagon.http.retryHandler.count=5
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.interval=3000
-Daether.connector.http.retryHandler.intervalMax=30000
-Daether.connector.http.retryHandler.serviceUnavailable=429,500,502,503,504
-Daether.connector.http.connectionMaxTtl=25 -Dorg.eclipse.jetty.LEVEL=WARN'
+ # aether.connector.http.* is read by Maven 3.9, aether.transport.http.* by
Maven 3.10+.
+ MVN_OPTS_INSTALL: '-T 3 -Phudi-platform-service -DskipTests
$(BUILD_PROFILES) $(PLUGIN_OPTS)
-Dmaven.wagon.httpconnectionManager.ttlSeconds=25
-Dmaven.wagon.http.retryHandler.count=5
-Daether.connector.http.retryHandler.count=5
-Daether.connector.http.retryHandler.interval=3000
-Daether.connector.http.retryHandler.intervalMax=30000
-Daether.connector.http.retryHandler.serviceUnavailable=429,500,502,503,504
-Daether.connector.http.connectionMaxTtl=25
-Daether.transport.http.retryHandler [...]
MVN_OPTS_TEST: '-fae -Pwarn-log $(BUILD_PROFILES) $(PLUGIN_OPTS)'
JAVA_MVN_TEST_FILTER: '-DwildcardSuites=skipScalaTests
-Dsurefire.failIfNoSpecifiedTests=false'
SCALA_MVN_TEST_FILTER: '-Dtest=skipJavaTests
-Dsurefire.failIfNoSpecifiedTests=false'