You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/04/19 02:30:00 UTC
[jira] [Commented] (KYLIN-5069) Remove find-hive-dependency.sh in Kylin 4
[ https://issues.apache.org/jira/browse/KYLIN-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524000#comment-17524000 ]
ASF subversion and git services commented on KYLIN-5069:
--------------------------------------------------------
Commit 6847d860056e9479b32d1cea8395cb689539203e in kylin's branch refs/heads/kylin-soft-affinity-local-cache from yaqian.zhang
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=6847d86005 ]
KYLIN-5069 Fix
> Remove find-hive-dependency.sh in Kylin 4
> -----------------------------------------
>
> Key: KYLIN-5069
> URL: https://issues.apache.org/jira/browse/KYLIN-5069
> Project: Kylin
> Issue Type: Improvement
> Affects Versions: v4.0.0
> Reporter: Xiaoxiang Yu
> Assignee: Yaqian Zhang
> Priority: Major
> Fix For: v4.0.1
>
> Attachments: image-2021-08-30-16-10-46-712.png
>
>
> In kylin.sh, Kylin introduces a lot of jars into Kylin instance's class path, via find-hive-dependency.sh and "hadoop classpath". So class conflict issues happened often, and most of them are related with hive jars. I think it is better to remove 'find-hive-dependency.sh' and use SparkSession to fetch Hive meta.
>
> Following is part of script kylin.sh :
> {code:java}
> tomcat_classpath=${tomcat_root}/bin/bootstrap.jar:${tomcat_root}/bin/tomcat-juli.jar:${tomcat_root}/lib/* export KYLIN_TOMCAT_CLASSPATH=${tomcat_classpath}:${KYLIN_HOME}/conf:${KYLIN_HOME}/lib/*:${KYLIN_HOME}/ext/*:${hadoop_dependencies}:${flink_dependency}
> {code}
>
> Some exception looks like this:
> !image-2021-08-30-16-10-46-712.png!
--
This message was sent by Atlassian Jira
(v8.20.1#820001)