This is expected; apache-kylin-2.0.0-bin-cdh57 is compiled with CDH 5.7 API, which is not back-compitable.
2017-07-05 15:26 GMT+08:00 hugo_zun <987093...@qq.com>: > hi ,all > > i can bulid the Cube(the sample),but i can't query.when i select count(*) > from KYLIN_SALES , i got it error. > ------------------------------------------------------------ > --------------------------------------------------------------------- > Error while executing SQL "select count(*) from KYLIN_SALES LIMIT 50000": > org.apache.hadoop.hbase.DoNotRetryIOException: > org.apache.hadoop.hbase.DoNotRetryIOException: > java.lang.NoSuchMethodError: > org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment. > getRegion()Lorg/apache/hadoop/hbase/regionserver/Region; > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2066) at > org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107) at > org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130) > at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107) at > java.lang.Thread.run(Thread.java:745) Caused by: > java.lang.NoSuchMethodError: > org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment. > getRegion()Lorg/apache/hadoop/hbase/regionserver/Region; > at > org.apache.kylin.storage.hbase.cube.v2.coprocessor. > endpoint.CubeVisitService.visitCube(CubeVisitService.java:237) > at > org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated. > CubeVisitProtos$CubeVisitService.callMethod(CubeVisitProtos.java:5375) > at > org.apache.hadoop.hbase.regionserver.HRegion. > execService(HRegion.java:7054) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion( > RSRpcServices.java:1741) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices. > execService(RSRpcServices.java:1723) > at > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2. > callBlockingMethod(ClientProtos.java:31447) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2035) ... 4 > more > > -- > View this message in context: http://apache-kylin.74782.x6. > nabble.com/cdh5-4-1-and-apache-kylin-2-0-0-bin-cdh57- > can-t-work-together-tp8366.html > Sent from the Apache Kylin mailing list archive at Nabble.com. > -- Best regards, Shaofeng Shi 史少锋