【Apache kylin】cube创建成功后查询事实表问题

曼曼人生 发布于 2017/05/03 12:35
阅读 644
收藏 0

运行kylin自带的例子后,查询事实表(kylin_sales)出现这样的问题,但是查询两张维表就没事。自己创建的也是这个问题。

环境配置:Hadoop 2.6.0-cdh5.6.0 HBase 1.0.0-cdh5.6.0 hive-1.1.0-cdh5.6.0 kylin-1.6.0-cdh5.7

Error while executing SQL "select * 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:2065) 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:182) at org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos$CubeVisitService.callMethod(CubeVisitProtos.java:4117) at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:7388) at org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:1776) at org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:1758) at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32209) at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2034) ... 4 more

加载中
0
AlexPeng
AlexPeng

请问找到解决办法没?同求

0
a
abcbo

应该是HBase的版本不对

参考:
"Kylin doesn't support Hbase 1.0.x, but supports Hbase 1.1.x. You may need to upgrade Hbase and try this binary, which is kylin 1.5.1 built for Hbase 1.1.x. "

http://apache-kylin.74782.x6.nabble.com/java-lang-NoSuchMethodError-org-apache-hadoop-hbase-coprocessor-RegionCoprocessorEnvironment-getRegi-td4698.html

0
l
learningme

http://kylin.apache.org/docs/gettingstarted/faq.html

可以订阅并发送问题到 Apache Kylin 邮件列表,问题都会在邮件列表中讨论和解答,具体参考:http://kylin.apache.org/community/

返回顶部
顶部