-
Notifications
You must be signed in to change notification settings - Fork 483
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
ORC-1635: Try downloading orc-format from dlcdn.apache.org before archive.apache.org #1830
Conversation
…e.org https://archive.apache.org/ discourages heavy use, and its rate limits can cause CI systems building Apache ORC to be banned.
@@ -72,6 +72,7 @@ endif () | |||
# ---------------------------------------------------------------------- | |||
# ORC Format | |||
ExternalProject_Add (orc-format_ep | |||
URL "https://dlcdn.apache.org/orc/orc-format-${ORC_FORMAT_VERSION}/orc-format-${ORC_FORMAT_VERSION}.tar.gz" | |||
URL "https://archive.apache.org/dist/orc/orc-format-${ORC_FORMAT_VERSION}/orc-format-${ORC_FORMAT_VERSION}.tar.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://cmake.org/cmake/help/latest/module/ExternalProject.html#url , this looks wrong to me. Have you tested this PR, @progval ?
URL <url1> [<url2>...]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the behavior is the same either way. I checked by replacing the first URL with a non-existing one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Thank you for confirming, @progval .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM (Pending CIs) for Apache ORC 2.1.0.
Merged to main for Apache ORC 2.1.0. Thank you, @progval . |
Thanks, but why not merging to all active branches? (at least 1.9 which is advertised as the current release and 2.0)? In a context of this being a fix mainly for CI workloads, makes sense to apply it on the current release version. |
v1.9 does not download orc-format so it's not applicable to that branch. But I agree it would be nice to have it on v2.0 |
I fully understand why you (@douardda and @progval) are thinking in that way. However, this is categorized as From my perspective, In general, as one of the open source community,
In short, this improvement contribution is simply late to be a part of 2.0. It will be 2.1. |
I opened the JIRA ticket as |
I believe that we already agreed that your original claim was wrong here (#1820 (comment))
I'm wondering if you are still claiming that "it can't be built on CIs". What are you unable to build on CIs? |
I can now build the
I can't build the C++ code in the v2.0 branch of this repository on my CI because I get this error:
after being blocked by archive.apache.org |
To @progval , it's your network environment network issue which doesn't follow the ASF policy correctly.
As I mentioned before, when Apache ORC community release Apache ORC Format 1.0.1, your claim will be broken again because your network environment will block you to access Apache ORC Format 1.0.0. I'd like to recommend to fix your network permanently to allow the archive link. |
For the record, on Apache Arrow we are getting similar download failures on public GitHub CI. |
Ack. Thank you for reporting @pitrou . |
FYI: We must use See also: |
Sure, I'll do the follow-up in Apache ORC side to use https://www.apache.org/dyn/closer.lua, @kou . Thanks! |
### What changes were proposed in this pull request? This PR aims to use the ASF-recommended `closer.lua` URL instead of the direct `dlcdn` link or `archive` link. - https://infra.apache.org/release-download-pages.html#download-page > you can generate a direct download link using the following syntax: > http://www.apache.org/dyn/closer.lua/bar/foo/foo-5.5.1.zip?action=download ### Why are the changes needed? To use the recommended download link in order to stabilize CIs. This is suggested from Arrow community. - #1830 (comment) - apache/arrow#44977 ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #2081 from dongjoon-hyun/ORC-1811. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This PR aims to use the ASF-recommended `closer.lua` URL instead of the direct `dlcdn` link or `archive` link. - https://infra.apache.org/release-download-pages.html#download-page > you can generate a direct download link using the following syntax: > http://www.apache.org/dyn/closer.lua/bar/foo/foo-5.5.1.zip?action=download To use the recommended download link in order to stabilize CIs. This is suggested from Arrow community. - #1830 (comment) - apache/arrow#44977 Pass the CIs. No. Closes #2081 from dongjoon-hyun/ORC-1811. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 28fe676) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
What changes were proposed in this pull request?
Try downloading orc-format from dlcdn.apache.org before archive.apache.org
This replaces #1820 which required dlcdn to have the current version.
Why are the changes needed?
https://archive.apache.org/ discourages heavy use, and its rate limits can cause CI systems building Apache ORC to be banned.
How was this patch tested?
It builds from a clean repo
Was this patch authored or co-authored using generative AI tooling?
no