You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by wc...@apache.org on 2023/06/01 13:09:59 UTC

[hbase] branch branch-2.4 updated: HBASE-27820: HBase is not starting due to Jersey library conflicts wi… (#5210) (#5261)

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

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


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new 61a876f5a9d HBASE-27820: HBase is not starting due to Jersey library conflicts wi… (#5210) (#5261)
61a876f5a9d is described below

commit 61a876f5a9da78b8c9aaf25a428d24f123631dea
Author: Rahul Agarkar <ra...@cloudera.com>
AuthorDate: Thu Jun 1 18:39:47 2023 +0530

    HBASE-27820: HBase is not starting due to Jersey library conflicts wi… (#5210) (#5261)
    
    Signed-off-by: Wellington Chevreuil <wc...@apache.org>
---
 hbase-http/pom.xml      |  4 ----
 hbase-mapreduce/pom.xml | 11 +++++++++++
 hbase-rest/pom.xml      |  9 ---------
 3 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/hbase-http/pom.xml b/hbase-http/pom.xml
index 0254811733b..546ebd69f02 100644
--- a/hbase-http/pom.xml
+++ b/hbase-http/pom.xml
@@ -80,10 +80,6 @@
       <groupId>javax.servlet</groupId>
       <artifactId>javax.servlet-api</artifactId>
     </dependency>
-    <dependency>
-      <groupId>javax.ws.rs</groupId>
-      <artifactId>javax.ws.rs-api</artifactId>
-    </dependency>
     <dependency>
       <groupId>com.github.stephenc.findbugs</groupId>
       <artifactId>findbugs-annotations</artifactId>
diff --git a/hbase-mapreduce/pom.xml b/hbase-mapreduce/pom.xml
index 994e934c689..f3befbe62fe 100644
--- a/hbase-mapreduce/pom.xml
+++ b/hbase-mapreduce/pom.xml
@@ -345,6 +345,17 @@
           <version>${netty.hadoop.version}</version>
           <scope>test</scope>
         </dependency>
+        <dependency>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-hdfs</artifactId>
+          <type>test-jar</type>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>javax.ws.rs</groupId>
+          <artifactId>javax.ws.rs-api</artifactId>
+          <scope>test</scope>
+        </dependency>
       </dependencies>
 
     </profile>
diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml
index b0ffe30e6a0..1cdfba4a096 100644
--- a/hbase-rest/pom.xml
+++ b/hbase-rest/pom.xml
@@ -30,15 +30,6 @@
   <name>Apache HBase - Rest</name>
   <description>HBase Rest Server</description>
   <dependencies>
-    <!--This one is upfront to get in front of
-         any dependency that pulls in jersey-core.
-         Jersey-core has implemented version 1
-         Interfaces of what is in this dependency
-         which does version 2.-->
-    <dependency>
-      <groupId>javax.ws.rs</groupId>
-      <artifactId>javax.ws.rs-api</artifactId>
-    </dependency>
     <!-- Intra-project dependencies -->
     <dependency>
       <groupId>org.apache.hbase</groupId>