You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by xx...@apache.org on 2021/11/09 01:49:49 UTC

[kylin] branch main updated: KYLIN-5906 fix cdh6

This is an automated email from the ASF dual-hosted git repository.

xxyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/main by this push:
     new 63a1068  KYLIN-5906 fix cdh6
63a1068 is described below

commit 63a106813db149893e9a2ecae762698b23322ae8
Author: yaqian.zhang <59...@qq.com>
AuthorDate: Mon Nov 8 13:58:57 2021 +0800

    KYLIN-5906 fix cdh6
---
 build/bin/prepare_hadoop_dependency.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build/bin/prepare_hadoop_dependency.sh b/build/bin/prepare_hadoop_dependency.sh
index 883fa5f..8388a26 100644
--- a/build/bin/prepare_hadoop_dependency.sh
+++ b/build/bin/prepare_hadoop_dependency.sh
@@ -130,11 +130,11 @@ if [[ $(is_aws_emr_6) == 1 ]]; then
   cp ${configuration_jars} ${KYLIN_HOME}/lib
 fi
 
-if [ $(is_cdh_6_x) == 1 ]; then
+if [[ $(is_cdh_6_x) == 1 ]]; then
    if [ -d "${KYLIN_HOME}/bin/hadoop3_jars/cdh6" ]; then
      find ${SPARK_HOME}/jars -name "hive-exec-*.jar" -exec rm -f {} \;
      echo "Copy jars from ${KYLIN_HOME}/bin/hadoop3_jars/cdh6"
-     cp ${KYLIN_HOME}/hadoop3_jars/cdh6/*.jar ${SPARK_HOME}/jars
+     cp ${KYLIN_HOME}/bin/hadoop3_jars/cdh6/*.jar ${SPARK_HOME}/jars
    fi
 fi