We only compile Kylin with HBase 0.98.x at the moment. HDP 2.3 bundles a higher version of HBase that has addition in API, and causes the compile error.
Suggest use HDP 2.2, most Kylin developers use this version. HDP 2.3 is still in preview state. Cheers Yang On Sat, Jul 11, 2015 at 12:10 AM, Olivier Renault <[email protected]> wrote: > Luke, i've tried w/ your binary package but then I get some other errors. I > will send another email with my errors. > > Thanks. > Olivier > > On 10 July 2015 at 16:42, Luke Han <[email protected]> wrote: > > > Have you tried our binary package? > > > > Thanks. > > > > > > Best Regards! > > --------------------- > > > > Luke Han > > > > On Thu, Jul 9, 2015 at 11:34 PM, Olivier Renault <[email protected]> > > wrote: > > > > > Hi all, > > > > > > I'm trying to compile kylin against HDP 2.3 and I get the following > > issues. > > > I've modified my pom to get the correct version included and I've also > > > added the repo. > > > > > > Any ideas, what am i doing wrong ? > > > > > > Additionally - do I need to recompile w/ my specific version or can I > use > > > the pom.xml provided ( as it compiles but then it's failing to connect > to > > > HBase ). > > > > > > Thanks > > > Olivier > > > > > > [ERROR] COMPILATION ERROR : > > > [INFO] ------------------------------------------------------------- > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/ObserverAggregationCache.java:[58,13] > > > > > > > > > org.apache.kylin.storage.hbase.coprocessor.observer.ObserverAggregationCache.AggregationRegionScanner > > > is not abstract and does not override abstract method > > > > > > > > > nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>,org.apache.hadoop.hbase.regionserver.ScannerContext) > > > in org.apache.hadoop.hbase.regionserver.RegionScanner > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/ObserverAggregationCache.java:[109,9] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/ObserverAggregationCache.java:[119,9] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/RegionScannerAdapter.java:[34,8] > > > org.apache.kylin.storage.hbase.RegionScannerAdapter is not abstract and > > > does not override abstract method > > > > > > > > > nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>,org.apache.hadoop.hbase.regionserver.ScannerContext) > > > in org.apache.hadoop.hbase.regionserver.RegionScanner > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/RegionScannerAdapter.java:[52,5] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/RegionScannerAdapter.java:[62,5] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregateRegionObserver.java:[96,57] > > > incompatible types > > > required: org.apache.hadoop.hbase.regionserver.HRegion > > > found: org.apache.hadoop.hbase.regionserver.Region > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregationScanner.java:[38,8] > > > org.apache.kylin.storage.hbase.coprocessor.observer.AggregationScanner > is > > > not abstract and does not override abstract method > > > > > > > > > nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>,org.apache.hadoop.hbase.regionserver.ScannerContext) > > > in org.apache.hadoop.hbase.regionserver.RegionScanner > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregationScanner.java:[102,28] > > > no suitable method found for > > > next(java.util.List<org.apache.hadoop.hbase.Cell>,int) > > > method > > > > > > > > > org.apache.hadoop.hbase.regionserver.InternalScanner.next(java.util.List<org.apache.hadoop.hbase.Cell>,org.apache.hadoop.hbase.regionserver.ScannerContext) > > > is not applicable > > > (actual argument int cannot be converted to > > > org.apache.hadoop.hbase.regionserver.ScannerContext by method > invocation > > > conversion) > > > method > > > > > > > > > org.apache.hadoop.hbase.regionserver.InternalScanner.next(java.util.List<org.apache.hadoop.hbase.Cell>) > > > is not applicable > > > (actual and formal argument lists differ in length) > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregationScanner.java:[100,5] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregationScanner.java:[112,28] > > > no suitable method found for > > > nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>,int) > > > method > > > > > > > > > org.apache.hadoop.hbase.regionserver.RegionScanner.nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>,org.apache.hadoop.hbase.regionserver.ScannerContext) > > > is not applicable > > > (actual argument int cannot be converted to > > > org.apache.hadoop.hbase.regionserver.ScannerContext by method > invocation > > > conversion) > > > method > > > > > > > > > org.apache.hadoop.hbase.regionserver.RegionScanner.nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>) > > > is not applicable > > > (actual and formal argument lists differ in length) > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregationScanner.java:[110,5] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/endpoint/IIEndpoint.java:[88,35] > > > incompatible types > > > required: org.apache.hadoop.hbase.regionserver.HRegion > > > found: org.apache.hadoop.hbase.regionserver.Region > > > [INFO] 13 errors > > > [INFO] ------------------------------------------------------------- > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Reactor Summary: > > > [INFO] > > > [INFO] Kylin:HadoopOLAPEngine ............................. SUCCESS [ > > > 2.893 s] > > > [INFO] Kylin:AtopCalcite .................................. SUCCESS [ > > > 4.075 s] > > > [INFO] Kylin:Common ....................................... SUCCESS [ > > > 42.920 s] > > > [INFO] Kylin:Metadata ..................................... SUCCESS [ > > > 3.476 s] > > > [INFO] Kylin:Dictionary ................................... SUCCESS [ > > > 2.365 s] > > > [INFO] Kylin:Cube ......................................... SUCCESS [ > > > 3.632 s] > > > [INFO] Kylin:InvertedIndex ................................ SUCCESS [ > > > 0.839 s] > > > [INFO] Kylin:Job .......................................... SUCCESS [ > > > 6.286 s] > > > [INFO] Kylin:Storage ...................................... FAILURE [ > > > 4.713 s] > > > [INFO] Kylin:Query ........................................ SKIPPED > > > [INFO] Kylin:JDBC ......................................... SKIPPED > > > [INFO] Kylin:RESTServer ................................... SKIPPED > > > [INFO] Kylin:Monitor ...................................... SKIPPED > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] BUILD FAILURE > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Total time: 01:12 min > > > [INFO] Finished at: 2015-07-09T08:18:28-07:00 > > > [INFO] Final Memory: 92M/1337M > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [ERROR] Failed to execute goal > > > org.apache.maven.plugins:maven-compiler-plugin:3.1:compile > > > (default-compile) on project kylin-storage: Compilation failure: > > > Compilation failure: > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/ObserverAggregationCache.java:[58,13] > > > > > > > > > org.apache.kylin.storage.hbase.coprocessor.observer.ObserverAggregationCache.AggregationRegionScanner > > > is not abstract and does not override abstract method > > > > > > > > > nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>,org.apache.hadoop.hbase.regionserver.ScannerContext) > > > in org.apache.hadoop.hbase.regionserver.RegionScanner > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/ObserverAggregationCache.java:[109,9] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/ObserverAggregationCache.java:[119,9] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/RegionScannerAdapter.java:[34,8] > > > org.apache.kylin.storage.hbase.RegionScannerAdapter is not abstract and > > > does not override abstract method > > > > > > > > > nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>,org.apache.hadoop.hbase.regionserver.ScannerContext) > > > in org.apache.hadoop.hbase.regionserver.RegionScanner > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/RegionScannerAdapter.java:[52,5] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/RegionScannerAdapter.java:[62,5] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregateRegionObserver.java:[96,57] > > > incompatible types > > > [ERROR] required: org.apache.hadoop.hbase.regionserver.HRegion > > > [ERROR] found: org.apache.hadoop.hbase.regionserver.Region > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregationScanner.java:[38,8] > > > org.apache.kylin.storage.hbase.coprocessor.observer.AggregationScanner > is > > > not abstract and does not override abstract method > > > > > > > > > nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>,org.apache.hadoop.hbase.regionserver.ScannerContext) > > > in org.apache.hadoop.hbase.regionserver.RegionScanner > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregationScanner.java:[102,28] > > > no suitable method found for > > > next(java.util.List<org.apache.hadoop.hbase.Cell>,int) > > > [ERROR] method > > > > > > > > > org.apache.hadoop.hbase.regionserver.InternalScanner.next(java.util.List<org.apache.hadoop.hbase.Cell>,org.apache.hadoop.hbase.regionserver.ScannerContext) > > > is not applicable > > > [ERROR] (actual argument int cannot be converted to > > > org.apache.hadoop.hbase.regionserver.ScannerContext by method > invocation > > > conversion) > > > [ERROR] method > > > > > > > > > org.apache.hadoop.hbase.regionserver.InternalScanner.next(java.util.List<org.apache.hadoop.hbase.Cell>) > > > is not applicable > > > [ERROR] (actual and formal argument lists differ in length) > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregationScanner.java:[100,5] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregationScanner.java:[112,28] > > > no suitable method found for > > > nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>,int) > > > [ERROR] method > > > > > > > > > org.apache.hadoop.hbase.regionserver.RegionScanner.nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>,org.apache.hadoop.hbase.regionserver.ScannerContext) > > > is not applicable > > > [ERROR] (actual argument int cannot be converted to > > > org.apache.hadoop.hbase.regionserver.ScannerContext by method > invocation > > > conversion) > > > [ERROR] method > > > > > > > > > org.apache.hadoop.hbase.regionserver.RegionScanner.nextRaw(java.util.List<org.apache.hadoop.hbase.Cell>) > > > is not applicable > > > [ERROR] (actual and formal argument lists differ in length) > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/observer/AggregationScanner.java:[110,5] > > > method does not override or implement a method from a supertype > > > [ERROR] > > > > > > > > > /home/orenault/incubator-kylin/storage/src/main/java/org/apache/kylin/storage/hbase/coprocessor/endpoint/IIEndpoint.java:[88,35] > > > incompatible types > > > [ERROR] required: org.apache.hadoop.hbase.regionserver.HRegion > > > [ERROR] found: org.apache.hadoop.hbase.regionserver.Region > > > [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 :kylin-storage > > > > > >
