Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using dlcdn.apache.org for apache archive downloading #6823

Closed
wants to merge 1 commit into from

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Nov 25, 2024

Why are the changes needed?

GA failed due to network unreachable.

Nov 25, 2024 5:10:56 AM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->[https://archive.apache.org:443:](https://archive.apache.org/) Network is unreachable
Nov 25, 2024 5:10:56 AM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->[https://archive.apache.org:443](https://archive.apache.org/)
Nov 25, 2024 5:11:56 AM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->[https://archive.apache.org:443:](https://archive.apache.org/) Network is unreachable
Nov 25, 2024 5:11:56 AM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->[https://archive.apache.org:443](https://archive.apache.org/)
Nov 25, 2024 5:12:56 AM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (java.net.SocketException) caught when processing request to {s}->[https://archive.apache.org:443:](https://archive.apache.org/) Network is unreachable
Nov 25, 2024 5:12:56 AM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->[https://archive.apache.org:443](https://archive.apache.org/)
Warning:  The requested profile "gen-policy" could not be activated because it does not exist.
Error:  Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.11.3:wget (download-spark-release) on project kyuubi-download: Network is unreachable -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.11.3:wget (download-spark-release) on project kyuubi-download: Network is unreachable
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)

How was this patch tested?

GA.

Was this patch authored or co-authored using generative AI tooling?

No.

@turboFei turboFei changed the title dldcn Using dlcdn.apache.org for apache archive downloading Nov 25, 2024
@@ -125,7 +125,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>https://dlcdn.apache.org</apache.archive.dist>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this work for archived versions?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Not sure whether the network is reachable, need to test.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean the "archived" version, like 3.5.0

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, there is no archived version ...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, the tgz should be loaded from the cache directly, unless the recent plugin bumping #6807 causes some issues

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the info.

@turboFei turboFei closed this Nov 25, 2024
@turboFei turboFei deleted the spark_archive branch November 25, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants