kylin 读写分离构建问题

xiaoxiao2021-03-01  5

kylin非常适合做读写分离设计。即需要两个集群,一个做计算,另一个做存储 注意kylin起的环境变量通过hbase加载,因此在配置上需要不通的客户端配置来保障

问题1:

java.lang.ClassNotFoundException: org.apache.kylin.engine.mr.KylinMapper

配置: kylin.engine.mr.lib-dir指向hive的lib,新版用 kylin.engine.mr.lib-dir 代替

问题2: 查询报错

kylin org.apache.hadoop.hbase.exceptions.UnknownProtocolException: org.apache.hadoop.hbase.exceptions.UnknownProtocolException: No registered coprocessor service found for name CubeVisitService in region

kylin 和hbase版本协处理器不匹配 http://kylin.apache.org/docs15/howto/howto_update_coprocessor.html

$KYLIN_HOME/bin/kylin.sh org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI $KYLIN_HOME/lib/kylin-coprocessor-*.jar all
转载请注明原文地址: https://www.6miu.com/read-3100273.html

最新回复(0)