[ 
https://issues.apache.org/jira/browse/HBASE-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404040#comment-13404040
 ] 

Zhihong Ted Yu commented on HBASE-6241:
---------------------------------------

I added the following into hbase-it/pom.xml:
{code}
    <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase-common</artifactId>
    </dependency>
{code}
Otherwise I would see the following when running 'mvn verify' under hbase-it:
{code}
[ERROR] 
/Users/zhihyu/trunk-hbase/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestDataIngestWithChaosMonkey.java:[29,35]
 cannot find symbol
[ERROR] symbol  : class Bytes
[ERROR] location: package org.apache.hadoop.hbase.util
[ERROR] 
[ERROR] 
/Users/zhihyu/trunk-hbase/hbase-it/src/test/java/org/apache/hadoop/hbase/IntegrationTestDataIngestWithChaosMonkey.java:[70,23]
 cannot find symbol
[ERROR] symbol  : variable Bytes
[ERROR] location: class 
org.apache.hadoop.hbase.IntegrationTestDataIngestWithChaosMonkey
[ERROR] -> [Help 1]
{code}
I then saw zookeeper Watcher class not found, so I added this:
{code}
    <dependency>
      <groupId>org.apache.zookeeper</groupId>
      <artifactId>zookeeper</artifactId>
    </dependency>
{code}
Then I got:
{code}
testDataIngest(org.apache.hadoop.hbase.IntegrationTestDataIngestWithChaosMonkey)
  Time elapsed: 7.426 sec  <<< ERROR!
java.lang.NoClassDefFoundError: 
com/google/protobuf/InvalidProtocolBufferException
  at 
org.apache.hadoop.hbase.HBaseTestingUtility.createRootDir(HBaseTestingUtility.java:823)
{code}
...
                
> HBaseCluster interface for interacting with the cluster from system tests 
> --------------------------------------------------------------------------
>
>                 Key: HBASE-6241
>                 URL: https://issues.apache.org/jira/browse/HBASE-6241
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>         Attachments: HBASE-6241_v0.2.patch, HBASE-6241_v1.patch
>
>
> We need to abstract away the cluster interactions for system tests running on 
> actual clusters. 
> MiniHBaseCluster and RealHBaseCluster should both implement this interface, 
> and system tests should work with both.
> I'll split Devaraj's patch in HBASE-6053 for the initial version. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to