This is an automated email from the ASF dual-hosted git repository. nic pushed a commit to branch v3.1.0-release in repository https://gitbox.apache.org/repos/asf/kylin.git
commit 14c2ad3e401649dd7d628755917a295942f6c69a Author: Zhichao Zhang <441586...@qq.com> AuthorDate: Mon Jun 22 23:47:55 2020 +0800 KYLIN-4598 Missing dependency when run kylin.sh org.apache.kylin.* Problems: It throws 'NoClassDefFoundError: org/apache/kafka/clients/producer/Producer' when run kylin.sh org.apache.kylin.source.kafka.util.KafkaSampleProducer. Solutions: Add 'export kafka_dependency' before export HBASE_CLASSPATH in kylin.sh --- build/bin/kylin.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/bin/kylin.sh b/build/bin/kylin.sh index 59d6de7..d56976b 100755 --- a/build/bin/kylin.sh +++ b/build/bin/kylin.sh @@ -40,10 +40,16 @@ function retrieveDependency() { source ${dir}/cached-hive-dependency.sh source ${dir}/cached-hbase-dependency.sh source ${dir}/cached-hadoop-conf-dir.sh + source ${dir}/cached-kafka-dependency.sh + source ${dir}/cached-spark-dependency.sh + source ${dir}/cached-flink-dependency.sh else source ${dir}/find-hive-dependency.sh source ${dir}/find-hbase-dependency.sh source ${dir}/find-hadoop-conf-dir.sh + source ${dir}/find-kafka-dependency.sh + source ${dir}/find-spark-dependency.sh + source ${dir}/find-flink-dependency.sh fi #retrive $KYLIN_EXTRA_START_OPTS