You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by kylin_liu <al...@163.com> on 2017/04/01 08:15:10 UTC

KYLIN 查询问题

KYLIN 我编译完成后,每次查询的时候都碰到这个,每次都要刷一下命令才能正常查询编译的结果,请问这个是什么问题呢, 我系统的架构版本是hbase
1.2.4+hadoop 2.7.3+hive 2.1 kylin 1.6  这个是版本问题吗?
Error while executing SQL "select * from KYLIN_SALES LIMIT 50000":
org.apache.hadoop.hbase.exceptions.UnknownProtocolException:
org.apache.hadoop.hbase.exceptions.UnknownProtocolException: No registered
coprocessor service found for name CubeVisitService in region
KYLIN_1QTEPRT72I,,1491033755864.6dbe5ecfc8154e9ee636ea12a51b089d. at
org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:7840)
at
org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:1991)
at
org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:1973)
at
org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:33652)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2180) at
org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112) at
org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108) at
java.lang.Thread.run(Thread.java:745)


$KYLIN_HOME/bin/kylin.sh
org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI
$KYLIN_HOME/lib/kylin-coprocessor-*.jar all

--
View this message in context: http://apache-kylin.74782.x6.nabble.com/KYLIN-tp7567.html
Sent from the Apache Kylin mailing list archive at Nabble.com.

Re: KYLIN 查询问题

Posted by ShaoFeng Shi <sh...@apache.org>.
Kylin wasn't able to deploy the coprocessor in the "Create HTable" step of
cube building. Check the Kylin logs to see whethere there was any
meaningful information.

In that step, if coprocessor wasn't deployed, thrown an error earlily might
be better. But I'm not sure whether the author has other concern at that
time, it worth a discussion.

2017-04-01 16:15 GMT+08:00 kylin_liu <al...@163.com>:

> KYLIN 我编译完成后,每次查询的时候都碰到这个,每次都要刷一下命令才能正常查询编译的结果,请问这个是什么问题呢, 我系统的架构版本是hbase
> 1.2.4+hadoop 2.7.3+hive 2.1 kylin 1.6  这个是版本问题吗?
> Error while executing SQL "select * from KYLIN_SALES LIMIT 50000":
> org.apache.hadoop.hbase.exceptions.UnknownProtocolException:
> org.apache.hadoop.hbase.exceptions.UnknownProtocolException: No registered
> coprocessor service found for name CubeVisitService in region
> KYLIN_1QTEPRT72I,,1491033755864.6dbe5ecfc8154e9ee636ea12a51b089d. at
> org.apache.hadoop.hbase.regionserver.HRegion.
> execService(HRegion.java:7840)
> at
> org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(
> RSRpcServices.java:1991)
> at
> org.apache.hadoop.hbase.regionserver.RSRpcServices.
> execService(RSRpcServices.java:1973)
> at
> org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.
> callBlockingMethod(ClientProtos.java:33652)
> at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2180) at
> org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:112) at
> org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
> at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108) at
> java.lang.Thread.run(Thread.java:745)
>
>
> $KYLIN_HOME/bin/kylin.sh
> org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI
> $KYLIN_HOME/lib/kylin-coprocessor-*.jar all
>
> --
> View this message in context: http://apache-kylin.74782.x6.
> nabble.com/KYLIN-tp7567.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.
>



-- 
Best regards,

Shaofeng Shi 史少锋