Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-5069

Remove find-hive-dependency.sh in Kylin 4

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • v4.0.0
    • v4.0.1
    • None
    • None
    • Committer(Medium) - This is for regular contributors/committers

    Description

      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 :

      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}
      

       

      Some exception looks like this:

      Attachments

        1. image-2021-08-30-16-10-46-712.png
          156 kB
          Xiaoxiang Yu

        Issue Links

          Activity

            People

              zhangyaqian Yaqian Zhang
              xxyu Xiaoxiang Yu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: