This is an automated email from the ASF dual-hosted git repository.

michaelsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit c3166ae53617036a5f990e36d5b234e2959c0e82
Author: Michael Smith <[email protected]>
AuthorDate: Thu Feb 12 09:30:04 2026 -0800

    IMPALA-14742: Guard against junit 5
    
    Newer versions of yarn bring in junit 5 without junit-vintage-engine.
    Exclude it and guard against accidentally including junit 5 until we're
    ready to support it.
    
    Change-Id: Ibe14569beb6d3dc00609b87dd899b35729f95625
    Reviewed-on: http://gerrit.cloudera.org:8080/23969
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 fe/pom.xml               | 2 ++
 java/yarn-extras/pom.xml | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/fe/pom.xml b/fe/pom.xml
index 61d376fea..fce70d378 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -842,6 +842,8 @@ under the License.
                     <exclude>org.apache.sentry:*</exclude>
                     <!-- IMPALA-11673: Ensure spring-jcl is not present. -->
                     <exclude>org.springframework:spring-jcl</exclude>
+                    <!-- We don't support junit 5 yet. -->
+                    <exclude>org.junit.jupiter:*</exclude>
                     <!-- Assert that we only use artifacts from only the 
specified
                          version of these components. -->
                     <exclude>org.apache.hadoop:*</exclude>
diff --git a/java/yarn-extras/pom.xml b/java/yarn-extras/pom.xml
index 142cd3149..dd5bf4816 100644
--- a/java/yarn-extras/pom.xml
+++ b/java/yarn-extras/pom.xml
@@ -62,6 +62,10 @@
           <groupId>com.sun.jersey</groupId>
           <artifactId>jersey-servlet</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.junit.jupiter</groupId>
+          <artifactId>*</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
   </dependencies>

Reply via email to