[ 
https://issues.apache.org/jira/browse/KYLIN-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yaqian Zhang resolved KYLIN-5069.
---------------------------------
    Resolution: Fixed

> 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)

Reply via email to