From 592c7c502a773fc8f9d34d255673acf309af06eb Mon Sep 17 00:00:00 2001 From: Raghav Aggarwal Date: Tue, 17 Mar 2026 22:06:45 +0530 Subject: [PATCH 1/2] TEZ-4695: Consolidate surefire plugin config to remove redundant surefire blocks --- pom.xml | 4 ++-- tez-dag/pom.xml | 4 +--- tez-ext-service-tests/pom.xml | 10 ---------- tez-tests/pom.xml | 10 ---------- 4 files changed, 3 insertions(+), 25 deletions(-) diff --git a/pom.xml b/pom.xml index 2b295473eb..6fd7a46c87 100644 --- a/pom.xml +++ b/pom.xml @@ -959,11 +959,11 @@ false 900 true - -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError - ${test.jvm.args} + -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError ${test.jvm.args} ${java.home} 4 + ${test.log.dir} ${test.build.data} diff --git a/tez-dag/pom.xml b/tez-dag/pom.xml index 10579f2c5b..c4af9b95a7 100644 --- a/tez-dag/pom.xml +++ b/tez-dag/pom.xml @@ -209,9 +209,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${test.jvm.args} - - ${test.log.dir} + test-external-id diff --git a/tez-ext-service-tests/pom.xml b/tez-ext-service-tests/pom.xml index c85f542289..5d7af433f0 100644 --- a/tez-ext-service-tests/pom.xml +++ b/tez-ext-service-tests/pom.xml @@ -157,16 +157,6 @@ - - org.apache.maven.plugins - maven-surefire-plugin - - ${test.jvm.args} - - ${test.log.dir} - - - org.apache.rat apache-rat-plugin diff --git a/tez-tests/pom.xml b/tez-tests/pom.xml index 25e82c66ba..33241c6ee9 100644 --- a/tez-tests/pom.xml +++ b/tez-tests/pom.xml @@ -156,16 +156,6 @@ - - org.apache.maven.plugins - maven-surefire-plugin - - ${test.jvm.args} - - ${test.log.dir} - - - org.apache.maven.plugins maven-jar-plugin From fc230c5cd85d238b11513926c06e6418008abcd5 Mon Sep 17 00:00:00 2001 From: Raghav Aggarwal Date: Thu, 19 Mar 2026 01:11:50 +0530 Subject: [PATCH 2/2] Review comment and remove test.log.dir propeties from child pom --- pom.xml | 19 ++++++++++--------- tez-dag/pom.xml | 10 ---------- tez-ext-service-tests/pom.xml | 4 ---- tez-tests/pom.xml | 4 ---- 4 files changed, 10 insertions(+), 27 deletions(-) diff --git a/pom.xml b/pom.xml index 6fd7a46c87..542d96180f 100644 --- a/pom.xml +++ b/pom.xml @@ -105,14 +105,8 @@ 1.1.10.4 3.1.0 ${project.build.directory}/tmp + ${project.build.directory}/logs 1.7.9 - - --add-opens=java.base/java.lang=ALL-UNNAMED - --add-opens=java.base/java.util=ALL-UNNAMED - --add-opens java.base/java.io=ALL-UNNAMED - -Dnet.bytebuddy.experimental=true - - true @@ -959,11 +953,18 @@ false 900 true - -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError ${test.jvm.args} + + -XX:+HeapDumpOnOutOfMemoryError + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.util=ALL-UNNAMED + --add-opens=java.base/java.io=ALL-UNNAMED + -Dnet.bytebuddy.experimental=true + ${java.home} - 4 ${test.log.dir} + 4 + test-external-id ${test.build.data} diff --git a/tez-dag/pom.xml b/tez-dag/pom.xml index c4af9b95a7..908b281b68 100644 --- a/tez-dag/pom.xml +++ b/tez-dag/pom.xml @@ -31,7 +31,6 @@ org.apache.tez.dag.app.rm.container.AMContainerImpl Tez Tez.gv - ${project.build.directory}/logs tez-dag @@ -205,15 +204,6 @@ - - org.apache.maven.plugins - maven-surefire-plugin - - - test-external-id - - - com.github.os72 protoc-jar-maven-plugin diff --git a/tez-ext-service-tests/pom.xml b/tez-ext-service-tests/pom.xml index 5d7af433f0..0231a7a0d9 100644 --- a/tez-ext-service-tests/pom.xml +++ b/tez-ext-service-tests/pom.xml @@ -25,10 +25,6 @@ tez-ext-service-tests - - ${project.build.directory}/logs - - io.netty diff --git a/tez-tests/pom.xml b/tez-tests/pom.xml index 33241c6ee9..cf76bdd3bd 100644 --- a/tez-tests/pom.xml +++ b/tez-tests/pom.xml @@ -24,10 +24,6 @@ tez-tests - - ${project.build.directory}/logs - - org.apache.tez