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

nihaljain pushed a commit to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.6 by this push:
     new b085f4cb148 HBASE-28311 Few ITs (using MiniMRYarnCluster on hadoop-2) 
are failing due to NCDFE: com/sun/jersey/core/util/FeaturesAndProperties (#5625)
b085f4cb148 is described below

commit b085f4cb1488d63136df2132a113c64882bcdef4
Author: Nihal Jain <[email protected]>
AuthorDate: Fri Feb 9 16:03:30 2024 +0530

    HBASE-28311 Few ITs (using MiniMRYarnCluster on hadoop-2) are failing due 
to NCDFE: com/sun/jersey/core/util/FeaturesAndProperties (#5625)
    
    Signed-off-by: Duo Zhang <[email protected]>
    (cherry picked from commit 2fb9a2f74eee643167bf21334cfa6ae7bd6330a2)
---
 hbase-it/pom.xml | 33 ++++++++++++++++++++-------------
 1 file changed, 20 insertions(+), 13 deletions(-)

diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml
index aa6983a2faf..4009ccba07f 100644
--- a/hbase-it/pom.xml
+++ b/hbase-it/pom.xml
@@ -114,19 +114,6 @@
       <artifactId>${compat.module}</artifactId>
       <version>${project.version}</version>
     </dependency>
-    <dependency>
-      <groupId>org.apache.hbase</groupId>
-      <artifactId>hbase-testing-util</artifactId>
-      <exclusions>
-        <!--This dependency pulls in hadoop-minicluster
-             which pulls in the below. It messes up
-             this build at assembly time. See HBASE-22029-->
-        <exclusion>
-          <groupId>com.sun.jersey</groupId>
-          <artifactId>jersey-core</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
     <!-- Required by tests using MiniMRCluster -->
     <dependency>
       <groupId>org.bouncycastle</groupId>
@@ -408,6 +395,13 @@
           <groupId>org.apache.hadoop</groupId>
           <artifactId>hadoop-minikdc</artifactId>
         </dependency>
+        <!-- ITs using MiniMRYarnCluster fail with NCDFE, so adding this here. 
We are not having
+        same exclusions as in hadoop-3 profile, as for hadoop-3 it runs fine 
even with exclusions.
+        See HBASE-28311 for details. -->
+        <dependency>
+          <groupId>org.apache.hbase</groupId>
+          <artifactId>hbase-testing-util</artifactId>
+        </dependency>
       </dependencies>
       <build>
         <plugins>
@@ -472,6 +466,19 @@
           <groupId>org.apache.hadoop</groupId>
           <artifactId>hadoop-minikdc</artifactId>
         </dependency>
+        <dependency>
+          <groupId>org.apache.hbase</groupId>
+          <artifactId>hbase-testing-util</artifactId>
+          <exclusions>
+            <!--This dependency pulls in hadoop-minicluster
+                 which pulls in the below. It messes up
+                 this build at assembly time. See HBASE-22029-->
+            <exclusion>
+              <groupId>com.sun.jersey</groupId>
+              <artifactId>jersey-core</artifactId>
+            </exclusion>
+          </exclusions>
+        </dependency>
       </dependencies>
       <build>
         <plugins>

Reply via email to