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 ce6cf7d44a4ee4d940b43b1e22c8a7bcd2c6b59d Author: sheng.huang <huangshen...@163.com> AuthorDate: Tue Jul 4 16:40:23 2023 +0800 KYLIN-5610 Automatically cp some necessary jars from kylin/server/jars into kylin/spark/jas after download spark --- build/sbin/download-spark-user.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/sbin/download-spark-user.sh b/build/sbin/download-spark-user.sh index 7cf1eb1631..d168dd5839 100755 --- a/build/sbin/download-spark-user.sh +++ b/build/sbin/download-spark-user.sh @@ -53,6 +53,13 @@ rm -rf ${KYLIN_HOME}/spark/hive_1_2_2 # Temp fix of "Cannot find catalog plugin class for catalog 'spark_catalog': org.apache.spark.sql.delta.catalog.DeltaCatalog" cp ${KYLIN_HOME}/server/jars/delta-core_2.12-1.2.1.jar ${KYLIN_HOME}/spark/jars/ +cp -r ${KYLIN_HOME}/server/jars/alluxio-shaded-client-*.jar ${KYLIN_HOME}/spark/jars/ +cp -r ${KYLIN_HOME}/server/jars/kylin-soft-affinity-cache-*.jar ${KYLIN_HOME}/spark/jars/ +cp -r ${KYLIN_HOME}/server/jars/kylin-external-guava*.jar ${KYLIN_HOME}/spark/jars/ +if [[ -n `find ${KYLIN_HOME}/server/jars/ -name "libthrift-*.jar"` ]]; then + rm -f ${KYLIN_HOME}/spark/jars/libthrift-*.jar + cp -rf ${KYLIN_HOME}/server/jars/libthrift-*.jar ${KYLIN_HOME}/spark/jars/ +fi if [ ! -f ${KYLIN_HOME}/"hive_1_2_2.tar.gz" ] then