-
Notifications
You must be signed in to change notification settings - Fork 117
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
Add option to download Hadoop from a custom URL #71
Comments
@ericmjonas - To continue our discussion from #84 about an Apache mirror blacklist here, what mirrors have you noticed take forever to serve up Hadoop? The mirrors I currently have on my list are:
|
I have to be honest, I haven't actually cataloged them yet -- I normally On Fri, Feb 19, 2016 at 6:55 PM, Nicholas Chammas [email protected]
|
OK, so we can say that at least for you, the download source option described here would work really well. Right? 😀 Perhaps we should get that working first, and then later revisit the idea of a mirror blacklist, or some kind of speculative download-retry mechanism for when a download seems like it it's gonna take forever. What do you say? |
On Sat, Feb 20, 2016 at 9:59 AM, Nicholas Chammas [email protected]
That sounds great! |
I agree with you that the out-of-box experience is critical. For the record, I'm hesitant to dive into these other approaches because:
|
@ericmjonas - I'm currently focused on getting #77 wrapped up and then tackling #16 for 0.4.0. If you want to take a crack at a PR for this in the meantime, be my guest. I've updated the issue description with my latest thoughts on how this would work. |
@nchammas @ericmjonas Do you guys mind if I take this? |
Fine by me @BenFradet. Have you run into the issues described here btw? Do you agree with the proposed solution? |
Nope, I haven't run into those issues with flintrock per say but I do have my own mirror which I have found more reliable than apache's in the past. |
As a follow-up to the discussion in #66, perhaps we should add an option to let users download Hadoop from a custom URL.
Command-line option:
--hdfs-download-source
Config file option:
{v}
will be replaced by the HDFS version passed in to Flintrock, either via the config file or via the command line.The
.../dyn/closer.lua/...
value will be Flintrock's internal default, which the user can replace with a specific Apache mirror, or some other source. The only requirements are that the package be downloadable from the cluster without authentication, and that the URL contain the{v}
template somewhere.I would like to deprecate this option as soon as we have a more robust way of downloading Hadoop quickly and reliably, since that's the main motivation for adding this option in.
Related to #66, #69, #84.
The text was updated successfully, but these errors were encountered: