You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/08/28 17:24:08 UTC

[jira] [Created] (PHOENIX-1218) Integration tests can't be run for hadoop2 on 3.x branch

Gabriel Reid created PHOENIX-1218:
-------------------------------------

             Summary: Integration tests can't be run for hadoop2 on 3.x branch
                 Key: PHOENIX-1218
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1218
             Project: Phoenix
          Issue Type: Bug
            Reporter: Gabriel Reid


There appear to be some dependency issues when running the integration tests for the hadoop2 profile on the 3.x branch.

If I run {code}mvn clean install -Dhadoop.profile=2{code} then I get errors such as the following:

{code}
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 488,768.052 sec <<< FAILURE! - in org.apache.phoenix.hbase.index.covered.example.EndtoEndIndexingWithCompressionIT
org.apache.phoenix.hbase.index.covered.example.EndtoEndIndexingWithCompressionIT  Time elapsed: 488,768.025 sec  <<< ERROR!
java.lang.NoSuchMethodError: org.apache.hadoop.hdfs.MiniDFSCluster.<init>(ILorg/apache/hadoop/conf/Configuration;IZZZLorg/apache/hadoop/hdfs/server/common/HdfsConstants$StartupOption;[Ljava/lang/String;[Ljava/lang/String;[J)V
	at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:452)
	at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:620)
	at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:576)
	at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:545)
	at org.apache.phoenix.hbase.index.covered.example.EndtoEndIndexingWithCompressionIT.setupCluster(EndtoEndIndexingWithCompressionIT.java:49)
{code}

This probably only requires some messing around with dependencies in the profiles to get things working.



--
This message was sent by Atlassian JIRA
(v6.2#6252)