[
https://issues.apache.org/jira/browse/PHOENIX-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor resolved PHOENIX-1218.
-----------------------------------
Resolution: Won't Fix
> 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.3.4#6332)