You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (Jira)" <ji...@apache.org> on 2021/08/30 08:13:00 UTC

[jira] [Created] (KYLIN-5069) Remove find-hive-dependency.sh in Kylin 4

Xiaoxiang Yu created KYLIN-5069:
-----------------------------------

             Summary: 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
            Reporter: Xiaoxiang Yu
             Fix For: v4.1.0
         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.3.4#803005)