[ https://issues.apache.org/jira/browse/HBASE-9798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Enis Soztutar updated HBASE-9798: --------------------------------- Attachment: hbase-9798_v1.patch Here is a simple patch. It is not just for hadoopqa. We cannot run ITDriver from the 96RC5 tarballs, since the dependency is not there. > Include dependency hamcrest-core > -------------------------------- > > Key: HBASE-9798 > URL: https://issues.apache.org/jira/browse/HBASE-9798 > Project: HBase > Issue Type: Bug > Components: build, test > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 0.98.0, 0.96.1 > > Attachments: hbase-9798_v1.patch > > > We exclude hamcrest-code dependency from junit: > {code} > <dependencyManagement> > <dependency> > <groupId>junit</groupId> > <artifactId>junit</artifactId> > <version>${junit.version}</version> > <exclusions> > <exclusion> > <groupId>org.hamcrest</groupId> > <artifactId>hamcrest-core</artifactId> > </exclusion> > </exclusions> > </dependency> > {code} > However, running ITTD fails with hadoop1 and 2 tarballs: > {code} > bin/hbase org.apache.hadoop.hbase.IntegrationTestsDriver > ... > Exception in thread "main" java.lang.NoClassDefFoundError: > org/hamcrest/SelfDescribing > at java.lang.ClassLoader.defineClass1(Native Method) > {code} -- This message was sent by Atlassian JIRA (v6.1#6144)