You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/04/26 16:05:00 UTC

[jira] [Created] (HBASE-20495) REST unit test fails with NoClassDefFoundError against hadoop3

Ted Yu created HBASE-20495:
------------------------------

             Summary: REST unit test fails with NoClassDefFoundError against hadoop3
                 Key: HBASE-20495
                 URL: https://issues.apache.org/jira/browse/HBASE-20495
             Project: HBase
          Issue Type: Test
            Reporter: Ted Yu
            Assignee: Ted Yu


The following was first observed in the test output of rest.TestDeleteRow against hadoop3:
{code}
java.lang.NoClassDefFoundError: com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate
Caused by: java.lang.ClassNotFoundException: com.sun.jersey.core.spi.factory.AbstractRuntimeDelegate
{code}
This was due to the following transitive dependency on jersey 1.19:
{code}
[INFO] +- org.apache.hbase:hbase-testing-util:jar:2.0.0.3.0.0.0-SNAPSHOT:test
[INFO] |  +- org.apache.hbase:hbase-zookeeper:test-jar:tests:2.0.0.3.0.0.0-SNAPSHOT:test
[INFO] |  +- org.apache.hbase:hbase-hadoop-compat:test-jar:tests:2.0.0.3.0.0.0-SNAPSHOT:test
[INFO] |  +- org.apache.hbase:hbase-hadoop2-compat:test-jar:tests:2.0.0.3.0.0.0-SNAPSHOT:test
[INFO] |  +- org.apache.hadoop:hadoop-mapreduce-client-jobclient:jar:3.0.0:compile
[INFO] |  |  \- org.apache.hadoop:hadoop-mapreduce-client-common:jar:3.0.0:compile
[INFO] |  +- org.apache.hadoop:hadoop-hdfs:test-jar:tests:3.0.0:test
[INFO] |  |  \- com.sun.jersey:jersey-server:jar:1.19:compile
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)