Skip to content

[SPARK-28963][BUILD] Fall back to archive.apache.org in build/mvn for older releases #25667

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

Closed
wants to merge 2 commits into from

Conversation

srowen
Copy link
Member

@srowen srowen commented Sep 3, 2019

What changes were proposed in this pull request?

Fall back to archive.apache.org in build/mvn to download Maven, in case the ASF mirrors no longer have an older release.

Why are the changes needed?

If an older release's specified Maven doesn't exist in the mirrors, {{build/mvn}} will fail.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Manually tested different paths and failures by commenting in/out parts of the script and modifying it directly.

@SparkQA
Copy link

SparkQA commented Sep 3, 2019

Test build #110053 has finished for PR 25667 at commit 158d91b.

  • This patch fails build dependency tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Sep 3, 2019

Test build #110054 has finished for PR 25667 at commit 5304c08.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member

Merged to master.

@srowen srowen deleted the SPARK-28963 branch October 9, 2019 14:11
@dongjoon-hyun
Copy link
Member

Hi, All.
Since the JIRA issue has 2.4.5 as a target version along with 3.0.0. I'll backport this to branch-2.4.

dongjoon-hyun pushed a commit that referenced this pull request Oct 21, 2019
… older releases

### What changes were proposed in this pull request?

Fall back to archive.apache.org in `build/mvn` to download Maven, in case the ASF mirrors no longer have an older release.

### Why are the changes needed?

If an older release's specified Maven doesn't exist in the mirrors, {{build/mvn}} will fail.

### Does this PR introduce any user-facing change?

No

### How was this patch tested?

Manually tested different paths and failures by commenting in/out parts of the script and modifying it directly.

Closes #25667 from srowen/SPARK-28963.

Authored-by: Sean Owen <sean.owen@databricks.com>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
(cherry picked from commit df39855)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants