phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Biyuhao <byh0...@gmail.com>
Subject CDH5.4.0 compatibility
Date Tue, 05 May 2015 17:30:41 GMT
Hi Everyone,

I'm trying to build phoenix with CDH5.4.0, and I got this error.
And I wanna ask is phoenix compatible with cdh distro? How can I fix this?

[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Phoenix ..................................... SUCCESS [
 3.111 s]
[INFO] Phoenix Core ....................................... FAILURE [07:02
min]
[INFO] Phoenix - Flume .................................... SKIPPED
[INFO] Phoenix - Pig ...................................... SKIPPED
[INFO] Phoenix Query Server Client ........................ SKIPPED
[INFO] Phoenix Query Server ............................... SKIPPED
[INFO] Phoenix - Pherf .................................... SKIPPED
[INFO] Phoenix - Spark .................................... SKIPPED
[INFO] Phoenix Assembly ................................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 07:06 min
[INFO] Finished at: 2015-05-05T14:55:21+08:00
[INFO] Final Memory: 48M/423M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project phoenix-core: Compilation failure: Compilation
failure:
[ERROR]
/home/user/code/phoenix/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/IndexSplitTransaction.java:[289,26]
method splitRegion in class org.apache.hadoop.hbase.MetaTableAccessor
cannot be applied to given types;
[ERROR] required:
org.apache.hadoop.hbase.client.Connection,org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.ServerName,int
[ERROR] found:
org.apache.hadoop.hbase.client.ClusterConnection,org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.ServerName
[ERROR] reason: actual and formal argument lists differ in length
[ERROR]
/home/user/code/phoenix/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/LocalIndexMerger.java:[82,20]
method prepareMutationsForMerge in class
org.apache.hadoop.hbase.regionserver.RegionMergeTransaction cannot be
applied to given types;
[ERROR] required:
org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.ServerName,java.util.List<org.apache.hadoop.hbase.client.Mutation>,int
[ERROR] found:
org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.HRegionInfo,org.apache.hadoop.hbase.ServerName,java.util.List<org.apache.hadoop.hbase.client.Mutation>
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :phoenix-core

Mime
View raw message