[
https://issues.apache.org/jira/browse/HBASE-15666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339395#comment-16339395
]
Mike Drob commented on HBASE-15666:
-----------------------------------
This is a really interesting set of failures...
Running your project as is against 1.2.0, {{mvn test}} gives me a stack trace
but actually completes.
Swapping to 1.4.0, I get a CNFE and the test fails to run.
{noformat}
testHbase(com.repro.hbase.TestHBase) Time elapsed: 2.227 sec <<< ERROR!
java.lang.NoClassDefFoundError:
org/apache/hadoop/hbase/shaded/org/mortbay/jetty/servlet/Context
{noformat}
Swapping further to 2.0.0-beta-1, and replacing shaded server with shaded
mapreduce the test fails with:
{noformat}
testHbase(com.repro.hbase.TestHBase) Time elapsed: 2.461 sec <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.hadoop.hdfs.web.WebHdfsFileSystem
{noformat}
I'm not sure if these are all the same problem or different problems, but I'll
start poking at them separately.
> shaded dependencies for hbase-testing-util
> ------------------------------------------
>
> Key: HBASE-15666
> URL: https://issues.apache.org/jira/browse/HBASE-15666
> Project: HBase
> Issue Type: New Feature
> Components: test
> Affects Versions: 1.1.0, 1.2.0
> Reporter: Sean Busbey
> Priority: Critical
> Fix For: 2.0.0, 1.5.0
>
>
> Folks that make use of our shaded client but then want to test things using
> the hbase-testing-util end up getting all of our dependencies again in the
> test scope.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)