You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ni...@apache.org on 2020/06/27 07:55:23 UTC
[kylin] branch v3.1.0-release created (now 14c2ad3)
This is an automated email from the ASF dual-hosted git repository.
nic pushed a change to branch v3.1.0-release
in repository https://gitbox.apache.org/repos/asf/kylin.git.
at 14c2ad3 KYLIN-4598 Missing dependency when run kylin.sh org.apache.kylin.*
This branch includes the following new commits:
new 5a815c4 KYLIN-4597 Fix NPE when download diagnosis info for a job
new 14c2ad3 KYLIN-4598 Missing dependency when run kylin.sh org.apache.kylin.*
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[kylin] 01/02: KYLIN-4597 Fix NPE when download diagnosis info for
a job
Posted by ni...@apache.org.
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 5a815c40847240af4bb035c1b05d4567c0b13abb
Author: Zhichao Zhang <44...@qq.com>
AuthorDate: Mon Jun 22 23:41:08 2020 +0800
KYLIN-4597 Fix NPE when download diagnosis info for a job
Problems:
When download diagnosis info for a job, it throws NPE.
Solutions:
Don't replace '-' to '' for job id, which will change the value of job id and can't find the job.
---
.../src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core-common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java b/core-common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java
index 74ea1f9..bb08b4c 100644
--- a/core-common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java
+++ b/core-common/src/main/java/org/apache/kylin/common/util/CliCommandExecutor.java
@@ -163,7 +163,7 @@ public class CliCommandExecutor {
}
}
- public static final String COMMAND_BLOCK_LIST = "[ &`>|{}()$;\\-#~!+*\\\\]+";
+ public static final String COMMAND_BLOCK_LIST = "[ &`>|{}()$;\\#~!+*\\\\]+";
public static final String COMMAND_WHITE_LIST = "[^\\w%,@/:=?.\"\\[\\]]";
public static final String HIVE_BLOCK_LIST = "[ <>()$;\\-#!+*\"'/=%@]+";
[kylin] 02/02: KYLIN-4598 Missing dependency when run kylin.sh
org.apache.kylin.*
Posted by ni...@apache.org.
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 <44...@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