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

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new ab2b7aea4 Revert "[KYUUBI #4279] Use new Apache 'closer.lua' syntax 
for kyuubi-download to obtain engine"
ab2b7aea4 is described below

commit ab2b7aea4d85186d227cf92d7d2f7ba4a1060edf
Author: Cheng Pan <[email protected]>
AuthorDate: Wed Mar 6 18:00:44 2024 +0800

    Revert "[KYUUBI #4279] Use new Apache 'closer.lua' syntax for 
kyuubi-download to obtain engine"
    
    This reverts commit 47a1091fa872bff91a82a390acfb18f92eba97fb.
---
 docs/contributing/code/building.md | 2 +-
 externals/kyuubi-download/pom.xml  | 6 +++---
 pom.xml                            | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/contributing/code/building.md 
b/docs/contributing/code/building.md
index a42c5d2f9..82409fc9e 100644
--- a/docs/contributing/code/building.md
+++ b/docs/contributing/code/building.md
@@ -83,7 +83,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 `closer.lua` to download the built-in release packages of 
engines,
+By default, we use `https://archive.apache.org/dist/` 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.
diff --git a/externals/kyuubi-download/pom.xml 
b/externals/kyuubi-download/pom.xml
index e9ac58629..b21e3e5a2 100644
--- a/externals/kyuubi-download/pom.xml
+++ b/externals/kyuubi-download/pom.xml
@@ -51,7 +51,7 @@
                         <phase>compile</phase>
                         <configuration>
                             <skip>${spark.archive.download.skip}</skip>
-                            
<url>${spark.archive.mirror}/${spark.archive.name}?action=download</url>
+                            
<url>${spark.archive.mirror}/${spark.archive.name}</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}?action=download</url>
+                            
<url>${flink.archive.mirror}/${flink.archive.name}</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}?action=download</url>
+                            
<url>${hive.archive.mirror}/${hive.archive.name}</url>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/pom.xml b/pom.xml
index 747df8fd5..c3e01b5cb 100644
--- a/pom.xml
+++ b/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>http://www.apache.org/dyn/closer.lua</apache.archive.dist>
+        
<apache.archive.dist>https://archive.apache.org/dist</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>

Reply via email to