[ https://issues.apache.org/jira/browse/HBASE-24215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17092811#comment-17092811 ]
Michael Stack commented on HBASE-24215: --------------------------------------- Added #PR1590. Still needs some cleanup. {code} Purges transitive jaxb includes so I can specify jaxb when needed. Also, can specify implementation for jdk11. Otherwise, implementation clashes w/ jaxb transitively included. Purge transitive includes of jsr311-api. Otherwise, we pickup version1 and we get java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map; when we try to run the REST server. TODO: Do better edit of when we add excludes.. make it hadoop3 only. Adds a few jersey1 excludes in top-level poms. In hbase-rest, do more exclusions of jersey1 includes. Add a jaxb impl for REST and include jersey1 servlet explicitly. {code} > [Flakey Tests] [ERROR] TestSecureRESTServer java.lang.NoClassDefFoundError: > com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: HBASE-24215 > URL: https://issues.apache.org/jira/browse/HBASE-24215 > Project: HBase > Issue Type: Bug > Reporter: Michael Stack > Assignee: Michael Stack > Priority: Major > Fix For: 3.0.0, 2.3.0 > > Attachments: > 0001-HBASE-24215-Flakey-Tests-ERROR-TestSecureRESTServer-.patch > > > Happened in two builds... 2.3 and 2: > jdk8 hadoop3 nightly just now > https://builds.apache.org/view/H-L/view/HBase/job/HBase%20Nightly/job/branch-2.3/44/ > {code} > [ERROR] org.apache.hadoop.hbase.rest.TestSecureRESTServer Time elapsed: 0.01 > s <<< ERROR! > java.lang.NoClassDefFoundError: > com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate > at > org.apache.hadoop.hbase.rest.TestSecureRESTServer.setupServer(TestSecureRESTServer.java:202) > Caused by: java.lang.ClassNotFoundException: > com.sun.jersey.core.spi.factory.AbstractRuntimeDelegate > at > org.apache.hadoop.hbase.rest.TestSecureRESTServer.setupServer(TestSecureRESTServer.java:202) > {code} > Then again in branch2 > https://builds.apache.org/view/H-L/view/HBase/job/HBase%20Nightly/job/branch-2/2619/ > {code} > [ERROR] org.apache.hadoop.hbase.rest.TestSecureRESTServer Time elapsed: > 0.017 s <<< ERROR! > java.lang.NoClassDefFoundError: > com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate > at > org.apache.hadoop.hbase.rest.TestSecureRESTServer.setupServer(TestSecureRESTServer.java:202) > Caused by: java.lang.ClassNotFoundException: > com.sun.jersey.core.spi.factory.AbstractRuntimeDelegate > at > org.apache.hadoop.hbase.rest.TestSecureRESTServer.setupServer(TestSecureRESTServer.java:202) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)