[
https://issues.apache.org/jira/browse/HBASE-10174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850272#comment-13850272
]
Kristoffer Sjögren commented on HBASE-10174:
--------------------------------------------
The production environment is not modified at all. This happens when doing in
container tests in our application and start a HMaster as part of those tests
like so (plus some extra stuff):
{code:java}
new HMasterCommandLine(HMaster.class).run(new String[]{"start});
{code}
This means that tests (client side) will execute in the classloader as the
HMaster. Here are the maven dependencies.
{code:xml}
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>0.94.7</version>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
<version>0.94.7</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-test</artifactId>
<version>1.0.0</version>
<scope>test</scope>
</dependency>
{code}
Im not sure if the client or server breaks here. But it looks like its on the
server side?
The thing is that we want HMaster lifecycle (starting, stopping, table creation
etc) to be managed _as part of the tests_ and not worry to much about it. This
way test executions (developer and CI servers) can have their own isolated
HBase.
Im open for any suggestions on how to do this.
> Back port HBASE-9667 'NullOutputStream removed from Guava 15' to 0.94
> ---------------------------------------------------------------------
>
> Key: HBASE-10174
> URL: https://issues.apache.org/jira/browse/HBASE-10174
> Project: HBase
> Issue Type: Improvement
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.94.16
>
> Attachments: 10174-v2.txt, 10174-v3.txt, 9667-0.94.patch
>
>
> On user mailing list under the thread 'Guava 15', Kristoffer Sjögren reported
> NoClassDefFoundError when he used Guava 15.
> The issue has been fixed in 0.96 + by HBASE-9667
> This JIRA ports the fix to 0.94 branch
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)