Skip to content

Commit

Permalink
KYLIN-4598 Missing dependency when run kylin.sh org.apache.kylin.*
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zzcclp authored and hit-lacus committed Jun 23, 2020
1 parent 9e700ab commit c02bb74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/bin/kylin.sh
Expand Up @@ -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
Expand Down

0 comments on commit c02bb74

Please sign in to comment.