Skip to content

Commit 61a876f

Browse files
authored
HBASE-27820: HBase is not starting due to Jersey library conflicts wi… (apache#5210) (apache#5261)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
1 parent 53a637d commit 61a876f

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

hbase-http/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@
8080
<groupId>javax.servlet</groupId>
8181
<artifactId>javax.servlet-api</artifactId>
8282
</dependency>
83-
<dependency>
84-
<groupId>javax.ws.rs</groupId>
85-
<artifactId>javax.ws.rs-api</artifactId>
86-
</dependency>
8783
<dependency>
8884
<groupId>com.github.stephenc.findbugs</groupId>
8985
<artifactId>findbugs-annotations</artifactId>

hbase-mapreduce/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,17 @@
345345
<version>${netty.hadoop.version}</version>
346346
<scope>test</scope>
347347
</dependency>
348+
<dependency>
349+
<groupId>org.apache.hadoop</groupId>
350+
<artifactId>hadoop-hdfs</artifactId>
351+
<type>test-jar</type>
352+
<scope>test</scope>
353+
</dependency>
354+
<dependency>
355+
<groupId>javax.ws.rs</groupId>
356+
<artifactId>javax.ws.rs-api</artifactId>
357+
<scope>test</scope>
358+
</dependency>
348359
</dependencies>
349360

350361
</profile>

hbase-rest/pom.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@
3030
<name>Apache HBase - Rest</name>
3131
<description>HBase Rest Server</description>
3232
<dependencies>
33-
<!--This one is upfront to get in front of
34-
any dependency that pulls in jersey-core.
35-
Jersey-core has implemented version 1
36-
Interfaces of what is in this dependency
37-
which does version 2.-->
38-
<dependency>
39-
<groupId>javax.ws.rs</groupId>
40-
<artifactId>javax.ws.rs-api</artifactId>
41-
</dependency>
4233
<!-- Intra-project dependencies -->
4334
<dependency>
4435
<groupId>org.apache.hbase</groupId>

0 commit comments

Comments
 (0)