kylin安装参考(本人之前的文章):
https://blog.csdn.net/qq_34669699/article/details/103139072
问题一
错误信息:Retrieving hbase dependency...
错误: 找不到或无法加载主类 org.apache.hadoop.hbase.util.GetJavaProperty解决方式:修改
vim /opt/cloudera/parcels/CDH/lib/hbase/bin/hbase将(改前)
#CLASSPATH initially contains $HBASE_CONF_DIR
CLASSPATH="${HBASE_CONF_DIR}"
CLASSPATH=${
CLASSPATH}:$JAVA_HOME/lib/tools.jar改为:(改后)
#CLASSPATH initially contains $HBASE_CONF_DIR
CLASSPATH="${HBASE_CONF_DIR}"
CLASSPATH=${
CLASSPATH}:$JAVA_HOME/lib/tools.jar:/opt/cloudera/parcels/CDH/lib/hbase/lib/*
问题二
查看kylin.log 内容有如下报错org/apache/commons/configuration/ConfigurationException解决方式:
下载这2个包:
commons-collections-3.2.2.jar
commons-configuration-1.10.jar放入kylin安装目录lib下:/opt/kylin-2.6.2/tomcat/webapps/kylin/WEB-INF/lib
问题三
查看kylin.log 内容有如下报错
提示一系列语言包不存在
java.io.FileNotFoundException: /opt/cloudera/parcels/CDH-6.1.0-1.cdh6.1.0.p0.770702/jars/derbyLocale_cs.jar (No such file or directory)derbyLocale_cs.jar
derbyLocale_de_DE.jar等等。。。解决方式:下载包,放入jars目录/opt/cloudera/parcels/CDH-6.1.1-1.cdh6.1.1.p0.875250/jars
问题四
查看kylin.log 内容有如下报错
Caused by: java.lang.IllegalArgumentException: /home/gzitv/apps/apache-kylin-2.6.4-bin/tomcat/conf/.keystore (No such file or directory)异常原因因为没有HTTPS的证书,所以导致异常解决方式:
去掉tomcat下的https
在kylin内置tomcat的server.xml中里边有个对https的支持没启用的话 注释掉cd $KYLIN_HOME/tomcat/conf
vi server.xml
添加注释
<!-- <Connector port="7443" protocol="org.apache.coyote.http11.Http11Protocol"maxThreads="150" SSLEnabled="true" scheme="https" secure="true"keystoreFile="conf/.keystore" keystorePass="changeit"clientAuth="false" sslProtocol="TLS" /> -->