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/05/31 09:23:51 UTC

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

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

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


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

commit 7cc15fc92b62877d91bbb8d653f02ead4d901900
Author: Rahul Agarkar <ra...@cloudera.com>
AuthorDate: Wed May 31 14:53:40 2023 +0530

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

diff --git a/hbase-http/pom.xml b/hbase-http/pom.xml
index ec2b6000f18..b0cee9cf6d8 100644
--- a/hbase-http/pom.xml
+++ b/hbase-http/pom.xml
@@ -93,10 +93,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 f54144f3936..1f692fc4f03 100644
--- a/hbase-mapreduce/pom.xml
+++ b/hbase-mapreduce/pom.xml
@@ -288,6 +288,11 @@
           <type>test-jar</type>
           <scope>test</scope>
         </dependency>
+        <dependency>
+          <groupId>javax.ws.rs</groupId>
+          <artifactId>javax.ws.rs-api</artifactId>
+          <scope>test</scope>
+        </dependency>
         <dependency>
           <!--maven dependency:analyze says not needed but tests fail w/o-->
           <groupId>org.apache.hadoop</groupId>
diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml
index 8a3b9f31ddf..176b58fb2cd 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>