All, I am trying to rebuild Phoenix against CDH4.3.0 Hbase/Hadoop versions and I am getting some compile issues. For the record I get the same issues wether I update the parent pom to use the CDH versions, or if I leave it default. I have downloaded the src tar file form the Apache Phoenix website and run a mvn clean install and a mvn clean install -Dhadoop.profile=2 (I added my CDH dependancies to the Hadoop-2 profile)
I am trying to build on Ubuntu 12.04 and have tried with mvn 3.0.4 and mvn 3.2.1 with Java 1.6.0_31. I have also tried to wipe my entire local maven repository and forced all dependancies to be re-downloaded. Here is the error I am getting during the compile phase of Phoenix-core Thanks in advance for any help or pointers [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/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java:[61,48] cannot find symbol [ERROR] symbol : class WALEditCodec [ERROR] location: package org.apache.hadoop.hbase.regionserver.wal [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[29,37] package org.apache.hadoop.hbase.codec does not exist [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[30,37] package org.apache.hadoop.hbase.codec does not exist [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[31,37] package org.apache.hadoop.hbase.codec does not exist [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[32,37] package org.apache.hadoop.hbase.codec does not exist [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[45,42] cannot find symbol [ERROR] symbol: class WALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[67,10] cannot find symbol [ERROR] symbol : class Decoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[80,10] cannot find symbol [ERROR] symbol : class Encoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[94,45] cannot find symbol [ERROR] symbol : class BaseDecoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[111,55] cannot find symbol [ERROR] symbol : class BaseDecoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[113,13] cannot find symbol [ERROR] symbol : class Decoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.CompressedIndexKeyValueDecoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[122,59] cannot find symbol [ERROR] symbol : class Decoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.CompressedIndexKeyValueDecoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[153,53] cannot find symbol [ERROR] symbol : class BaseEncoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[178,63] cannot find symbol [ERROR] symbol : class BaseEncoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[179,13] cannot find symbol [ERROR] symbol : class Encoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.CompressedIndexKeyValueEncoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[181,60] cannot find symbol [ERROR] symbol : class Encoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.CompressedIndexKeyValueEncoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/Indexer.java:[42,38] cannot find symbol [ERROR] symbol : class Durability [ERROR] location: package org.apache.hadoop.hbase.client [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/phoenix/query/QueryServicesOptions.java:[418,20] cannot find symbol [ERROR] symbol : variable WALEditCodec [ERROR] location: class org.apache.phoenix.query.QueryServicesOptions [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java:[857,73] incompatible types; no instance(s) of type variable(s) K,V exist so that java.util.TreeMap<K,V> conforms to java.util.TreeMap<byte[],org.apache.hadoop.hbase.HRegionLocation> [ERROR] found : <K,V>java.util.TreeMap<K,V> [ERROR] required: java.util.TreeMap<byte[],org.apache.hadoop.hbase.HRegionLocation> [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java:[866,65] incompatible types; no instance(s) of type variable(s) K,V exist so that java.util.TreeMap<K,V> conforms to java.util.TreeMap<byte[],java.lang.Long> [ERROR] found : <K,V>java.util.TreeMap<K,V> [ERROR] required: java.util.TreeMap<byte[],java.lang.Long> [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[62,5] cannot find symbol [ERROR] symbol : variable super [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[60,3] method does not override or implement a method from a supertype [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[74,5] cannot find symbol [ERROR] symbol : class Decoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[74,23] cannot find symbol [ERROR] symbol : variable super [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[66,3] method does not override or implement a method from a supertype [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[87,5] cannot find symbol [ERROR] symbol : class Encoder [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[87,23] cannot find symbol [ERROR] symbol : variable super [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[79,3] method does not override or implement a method from a supertype [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[107,57] cannot find symbol [ERROR] symbol : variable in [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.IndexKeyValueDecoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[105,5] method does not override or implement a method from a supertype [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[130,24] cannot find symbol [ERROR] symbol : variable in [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.CompressedIndexKeyValueDecoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[145,57] cannot find symbol [ERROR] symbol : variable in [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.CompressedIndexKeyValueDecoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[127,5] method does not override or implement a method from a supertype [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[160,7] cannot find symbol [ERROR] symbol : variable super [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.IndexKeyValueEncoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[158,5] method does not override or implement a method from a supertype [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[166,7] cannot find symbol [ERROR] symbol : method checkFlushed() [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.IndexKeyValueEncoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[169,44] cannot find symbol [ERROR] symbol : variable out [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.IndexKeyValueEncoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[163,5] method does not override or implement a method from a supertype [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[189,7] cannot find symbol [ERROR] symbol : variable super [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.CompressedIndexKeyValueEncoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[186,5] method does not override or implement a method from a supertype [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[195,7] cannot find symbol [ERROR] symbol : method checkFlushed() [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.CompressedIndexKeyValueEncoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[202,7] cannot find symbol [ERROR] symbol : variable out [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.CompressedIndexKeyValueEncoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[209,42] cannot find symbol [ERROR] symbol : variable out [ERROR] location: class org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec.CompressedIndexKeyValueEncoder [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/hadoop/hbase/regionserver/wal/IndexedWALEditCodec.java:[192,5] method does not override or implement a method from a supertype [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/Indexer.java:[291,20] cannot find symbol [ERROR] symbol : method getDurability() [ERROR] location: class org.apache.hadoop.hbase.client.Mutation [ERROR] /home/xxxxx/Downloads/phoenix-3.0.0-incubating-src/phoenix-core/src/main/java/org/apache/phoenix/hbase/index/Indexer.java:[291,40] cannot find symbol [ERROR] symbol : variable Durability [ERROR] location: class org.apache.phoenix.hbase.index.Indexer [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