You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by Ge Silas <go...@live.cn> on 2018/09/25 07:31:26 UTC

答复: Build sample cude error, failed to read kylin_hive_conf.xml

Hi Simon,

Can you please create a JIRA for this issue, I see others mentioning similar issues...

Best regards,
Silas
________________________________
发件人: simon1118 <wu...@163.com>
发送时间: 2018年9月23日 9:17
收件人: dev@kylin.apache.org
主题: Build sample cude error, failed to read kylin_hive_conf.xml

The following error always occur when I try to build kylin_sales_cube at step
cleanup Hive table:
org.apache.kylin.job.exception.ExecuteException:
org.apache.kylin.job.exception.ExecuteException: java.lang.RuntimeException:
Failed to read kylin_hive_conf.xml
        at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:178)
        at
org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:113)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.kylin.job.exception.ExecuteException:
java.lang.RuntimeException: Failed to read kylin_hive_conf.xml
        at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:178)
        at
org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:69)
        at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:163)
        ... 4 more
Caused by: java.lang.RuntimeException: Failed to read kylin_hive_conf.xml
        at
org.apache.kylin.common.util.SourceConfigurationUtil.loadXmlConfiguration(SourceConfigurationUtil.java:83)
        at
org.apache.kylin.common.util.SourceConfigurationUtil.loadHiveConfiguration(SourceConfigurationUtil.java:57)
        at
org.apache.kylin.common.util.HiveCmdBuilder.<init>(HiveCmdBuilder.java:46)
        at
org.apache.kylin.source.hive.GarbageCollectionStep.cleanUpIntermediateFlatTable(GarbageCollectionStep.java:61)
        at
org.apache.kylin.source.hive.GarbageCollectionStep.doWork(GarbageCollectionStep.java:48)
        at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:163)
        ... 6 more

After that, when I restart the kylin server, and resume the cube job, it
works fine.
My environment are:
Hadoop 2.9.1
Hbase 1.4.7
Hive 1.2.2
JDK1.8
Kylin 2.5.0

All running in docker, could anyone help me out?

--
Sent from: http://apache-kylin.74782.x6.nabble.com/