This is an automated email from the ASF dual-hosted git repository.
zuston pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git
The following commit(s) were added to refs/heads/master by this push:
new 4288efee4 [#2335] Improvement: Fix the warning of that parameter
systemProperties is deprecated: Use systemPropertyVariables instead (#2336)
4288efee4 is described below
commit 4288efee42039ba29eadf72134336502e4eedf15
Author: Neo Chien <[email protected]>
AuthorDate: Tue Jan 14 10:36:23 2025 +0800
[#2335] Improvement: Fix the warning of that parameter systemProperties is
deprecated: Use systemPropertyVariables instead (#2336)
### What changes were proposed in this pull request?
Fix the warning: Parameter `systemProperties` is deprecated: Use
`systemPropertyVariables` instead.
### Why are the changes needed?
Fix: #2335
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
current UT
---
integration-test/common/pom.xml | 4 ++--
integration-test/mr/pom.xml | 4 ++--
integration-test/spark-common/pom.xml | 4 ++--
integration-test/tez/pom.xml | 4 ++--
pom.xml | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/integration-test/common/pom.xml b/integration-test/common/pom.xml
index dbf7f374a..1210a064d 100644
--- a/integration-test/common/pom.xml
+++ b/integration-test/common/pom.xml
@@ -169,12 +169,12 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
- <systemProperties>
+ <systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
<java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir>
<project.version>${project.version}</project.version>
<test.mode>true</test.mode>
- </systemProperties>
+ </systemPropertyVariables>
<redirectTestOutputToFile>${test.redirectToFile}</redirectTestOutputToFile>
<useFile>${test.redirectToFile}</useFile>
<argLine>-ea -Xmx5g -Xss4m -XX:MaxMetaspaceSize=2g
-XX:ReservedCodeCacheSize=1g</argLine>
diff --git a/integration-test/mr/pom.xml b/integration-test/mr/pom.xml
index 5c190bf4c..55150d79e 100644
--- a/integration-test/mr/pom.xml
+++ b/integration-test/mr/pom.xml
@@ -153,12 +153,12 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
- <systemProperties>
+ <systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
<java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir>
<project.version>${project.version}</project.version>
<test.mode>true</test.mode>
- </systemProperties>
+ </systemPropertyVariables>
<redirectTestOutputToFile>${test.redirectToFile}</redirectTestOutputToFile>
<useFile>${test.redirectToFile}</useFile>
<argLine>-ea -Xmx5g -Xss4m -XX:MaxMetaspaceSize=2g
-XX:ReservedCodeCacheSize=1g</argLine>
diff --git a/integration-test/spark-common/pom.xml
b/integration-test/spark-common/pom.xml
index 9cfb14baf..f034c10b2 100644
--- a/integration-test/spark-common/pom.xml
+++ b/integration-test/spark-common/pom.xml
@@ -186,12 +186,12 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
- <systemProperties>
+ <systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
<java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir>
<project.version>${project.version}</project.version>
<test.mode>true</test.mode>
- </systemProperties>
+ </systemPropertyVariables>
<redirectTestOutputToFile>${test.redirectToFile}</redirectTestOutputToFile>
<useFile>${test.redirectToFile}</useFile>
<argLine>-ea -Xmx5g -Xss4m -XX:MaxMetaspaceSize=2g
-XX:ReservedCodeCacheSize=1g</argLine>
diff --git a/integration-test/tez/pom.xml b/integration-test/tez/pom.xml
index 1bf4a5e31..f5992c146 100644
--- a/integration-test/tez/pom.xml
+++ b/integration-test/tez/pom.xml
@@ -159,12 +159,12 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
- <systemProperties>
+ <systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
<java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir>
<project.version>${project.version}</project.version>
<test.mode>true</test.mode>
- </systemProperties>
+ </systemPropertyVariables>
<redirectTestOutputToFile>${test.redirectToFile}</redirectTestOutputToFile>
<useFile>${test.redirectToFile}</useFile>
<argLine>-ea -Xmx5g -Xss4m -XX:MaxMetaspaceSize=2g
-XX:ReservedCodeCacheSize=1g</argLine>
diff --git a/pom.xml b/pom.xml
index 08102056d..5085cfa65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -959,13 +959,13 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
- <systemProperties>
+ <systemPropertyVariables>
<java.awt.headless>true</java.awt.headless>
<java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir>
<project.version>${project.version}</project.version>
<jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
<test.mode>true</test.mode>
- </systemProperties>
+ </systemPropertyVariables>
<redirectTestOutputToFile>${test.redirectToFile}</redirectTestOutputToFile>
<useFile>${test.redirectToFile}</useFile>
<argLine>${argLine} -ea -Xmx5g -Xss4m -XX:MaxMetaspaceSize=2g
-XX:ReservedCodeCacheSize=1g</argLine>