This is an automated email from the ASF dual-hosted git repository.
xxyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push:
new c02bb74 KYLIN-4598 Missing dependency when run kylin.sh
org.apache.kylin.*
c02bb74 is described below
commit c02bb7469bcc234818e5c4e824d00ac5852d424f
Author: Zhichao Zhang <[email protected]>
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