/home/lqs/module/kylin/bin/set-java-home.sh: 第 32 行:[: : 期待整数表达式
Retrieving hadoop conf dir...
/home/lqs/module/kylin/bin/find-hadoop-conf-dir.sh:行33: hbase: 未找到命令
KYLIN_HOME is set to /home/lqs/module/kylin
Please make sure the user has the privilege to run hbase shell

报错1:

/home/lqs/module/kylin/bin/set-java-home.sh: 第 32 行:[: : 期待整数表达式
Retrieving hadoop conf dir...
/home/lqs/module/kylin/bin/find-hadoop-conf-dir.sh:行33: hbase: 未找到命令
Please make sure the user has the privilege to run hbase shell

报错1原因:
是因为我们的环境变量没有配好,或者是在配置环境变量的出现了字母输入错误的情况,出现一些小问题

解决办法:
去环境配置的文件认真检查,看是否配置的和我一样,因为kylin需要以下的安装部署:

安装(启动)Kylin前需先部署好:
Hadoop
Hive
Zookeeper
HBase
所有现在您需要做的是去检查的环境配置文件是否和我一样(vim /etc/profile.d/my_evn.sh):
在这里插入图片描述

检查清楚后,记得source一下哦

报错2见:KYLIN_HOME is set to /home/lqs/module/kylin 标题的文章

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐