This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch master-hadoop3 in repository https://gitbox.apache.org/repos/asf/kylin.git
commit f2ac53a32ffa3daeebe516b492759cd682ae1bf6 Author: Zhichao Zhang <441586...@qq.com> AuthorDate: Sat Jun 27 11:01:31 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