[
https://issues.apache.org/jira/browse/KYLIN-5956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877640#comment-17877640
]
pengfei.zhan commented on KYLIN-5956:
-------------------------------------
当执行 release.sh 脚本的时候,它会调用 download-spark.sh,但默认打包不会下载 spark,用户在启动 kylin 的时候会调用
`download-spark-user.sh` 来下载 spark。然而,这个文件中 spark.version 是一个固定值。
* 修改 download-spark.sh 脚本,记录下 spark.version 到 SPARK_VERSION
文件中,在打包的时候,将这个文件也拷贝到最终生成的包里面。
* 修改 `download-spark-user.sh` 读取 SPARK_VERSION 获取正确的 spark.version,从而下载正确的版本。
When the release.sh script is executed, it calls download-spark.sh, but the
default package does not download spark, the user calls
`download-spark-user.sh` to download spark when starting kylin. However, the
spark.version in this file is a fixed value.
* modify the download-spark.sh script to record the spark.version in the
SPARK_VERSION file, and copy this file to the final package when packaging.
* modify `download-spark-user.sh` to read SPARK_VERSION to get the correct
spark.version so that you can download the correct version.
> Incorrect spark.version used in `download-spark-user.sh`
> --------------------------------------------------------
>
> Key: KYLIN-5956
> URL: https://issues.apache.org/jira/browse/KYLIN-5956
> Project: Kylin
> Issue Type: Bug
> Components: Others
> Affects Versions: 5.0-alpha
> Reporter: pengfei.zhan
> Assignee: pengfei.zhan
> Priority: Major
> Fix For: 5.0.0
>
>
> The file `download-spark-user.sh` uses wrong spark.version.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)