This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch kylin5 in repository https://gitbox.apache.org/repos/asf/kylin.git
commit 758fa4962c1a468f26e4d9253b2c76d5f4147b4a Author: Liang.Hua <36814772+jacob...@users.noreply.github.com> AuthorDate: Wed Mar 29 15:16:34 2023 +0800 KYLIN-5597 fix replace-jars-under-spark.sh when kerberosEnabled is null (#30239) Co-authored-by: liang.hua <liang....@kyligence.io> --- build/sbin/replace-jars-under-spark.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/sbin/replace-jars-under-spark.sh b/build/sbin/replace-jars-under-spark.sh index e6456a3a5e..00a0d31971 100755 --- a/build/sbin/replace-jars-under-spark.sh +++ b/build/sbin/replace-jars-under-spark.sh @@ -23,7 +23,7 @@ BYPASS=${SPARK_HOME}/jars/replace-jars-bypass # replace when has Kerberos, or can't get the value (eg: in FI platform) kerberosEnabled=`${KYLIN_HOME}/bin/get-properties.sh kylin.kerberos.enabled` -if [[ "${kerberosEnabled}" == "false" || -f ${BYPASS} ]] +if [[ "${kerberosEnabled}" != "true" || -f ${BYPASS} ]] then return fi