[KYUUBI #4279] Use new Apache 'closer.lua' syntax for kyuubi-download to obtain engine
…ne archives # 🔍 Description ## Issue References [4279](https://github.com/apache/kyuubi/issues/4279)🔗 This pull request fixes # ## Describe Your Solution 🔧 Use new Apache 'closer.lua' syntax for kyuubi-download to obtain engine ## Types of changes 🔖 - [x] New feature (non-breaking change which adds functionality) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6009 from sincewhen/master. Closes #4279 2152a9b92 [yuqingyang] Use new Apache 'closer.lua' syntax for kyuubi-download to obtain engine archives Authored-by: yuqingyang <yuqingyang@kingsoft.com> Signed-off-by: Kent Yao <yao@apache.org>
This commit is contained in:
parent
083f3c1e29
commit
47a1091fa8
@ -84,7 +84,7 @@ For the Scala version for Spark engines, the server will look up the `SPARK_SCAL
|
||||
|
||||
## Building With Apache dlcdn Site
|
||||
|
||||
By default, we use `https://archive.apache.org/dist/` to download the built-in release packages of engines,
|
||||
By default, we use `closer.lua` to download the built-in release packages of engines,
|
||||
such as Spark or Flink.
|
||||
But sometimes, you may find it hard to reach, or the download speed is too slow,
|
||||
then you can define the `apache.archive.dist` by `-Pmirror-cdn` to accelerate to download speed.
|
||||
|
||||
6
externals/kyuubi-download/pom.xml
vendored
6
externals/kyuubi-download/pom.xml
vendored
@ -51,7 +51,7 @@
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<skip>${spark.archive.download.skip}</skip>
|
||||
<url>${spark.archive.mirror}/${spark.archive.name}</url>
|
||||
<url>${spark.archive.mirror}/${spark.archive.name}?action=download</url>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
@ -62,7 +62,7 @@
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<skip>${flink.archive.download.skip}</skip>
|
||||
<url>${flink.archive.mirror}/${flink.archive.name}</url>
|
||||
<url>${flink.archive.mirror}/${flink.archive.name}?action=download</url>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
@ -73,7 +73,7 @@
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<skip>${hive.archive.download.skip}</skip>
|
||||
<url>${hive.archive.mirror}/${hive.archive.name}</url>
|
||||
<url>${hive.archive.mirror}/${hive.archive.name}?action=download</url>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
||||
2
pom.xml
2
pom.xml
@ -123,7 +123,7 @@
|
||||
<!-- Please don't upgrade the version to 4.10+, it depends on JDK 11 -->
|
||||
<antlr4.version>4.9.3</antlr4.version>
|
||||
<antlr.st4.version>4.3.4</antlr.st4.version>
|
||||
<apache.archive.dist>https://archive.apache.org/dist</apache.archive.dist>
|
||||
<apache.archive.dist>http://www.apache.org/dyn/closer.lua</apache.archive.dist>
|
||||
<atlas.version>2.3.0</atlas.version>
|
||||
<bouncycastle.version>1.67</bouncycastle.version>
|
||||
<codahale.metrics.version>4.2.23</codahale.metrics.version>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user