kylin常见错误

kylin错误解决过程:
1.查看kylin cube执行过程中的日志
在这里插入图片描述
2.cube错误不明确,去yarn查看日志
在这里插入图片描述
下面是我在使用kylin过程中遇到的一些问题以及错误的解决

1.运行ERROR,点击日志发现java.io.IOException: fail to find the statistics file in base dir: hdfs:/kylin/kylin_metadata/kylin-6faa47ea-3a5b-4020-976f-c9fcf9d93bd2/kylin_sales_cube/fact_distinct_columns/statistics

在这里插入图片描述

原因:yarn运行出错,修改mapred-site.xml为

<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>

2.运行ERROR,点击日志发现java.io.IOException: OS command error exit with return code: 64, error message: SLF4J: Class path contains multiple SLF4J bindings.

在这里插入图片描述

原因:hive元数据没有开启,开启hive 元数据服务即可

3.当用spark作为kylin引擎时,报错:ERROR cluster.YarnClientSchedulerBackend: Yarn application has already exited with state FINISHED!

原因:yarn-site.xml中yarn.nodemanager.vmem-pmem-ratio值偏小,将其调大一点即可,我调整为2.5,默认是2.1

发布了10 篇原创文章 · 获赞 2 · 访问量 873
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章