-
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
Support launching clusters running Ubuntu #95
Comments
What you're seeing here is most likely the result of Flintrock is currently developed and tested against Amazon Linux and, to a lesser extent, CentOS. With some work we might be able to get Flintrock to work against Ubuntu and other distributions, but that's not on the roadmap at the moment. I am open to proposals on how support a popular distribution like Ubuntu as long as they don't meaningfully increase Flintrock's complexity or maintenance burden. Since Fedora and Red Hat are much more similar to Amazon Linux and CentOS, you should have an easier time getting Flintrock to work with those distributions. |
thanks. btw, it looks like "--paths" is an option on newer versions of ubuntu: http://manpages.ubuntu.com/manpages/trusty/man8/lsblk.8.html |
Good catch. (I assume you meant to link to Wily or Xenial, not Trusty.) Maybe things will work with Ubuntu 15? Though I wouldn't be surprised if you then hit something else... For example, in some cases Flintrock uses |
my devops tell me I should stay with LTS - and who am I to argue with devops? ;) |
to improve portability, one could move system-dependent stuff like ephemerals setup to the instance user_data/boopstrap scripts and/or flintrock plugins (similar to how StarCluster does it) so that end-user is responsible for low level bootstrap by either customizing user data script or implementing a plugin |
I've never built a plugin system, and I'm not too familiar with StarCluster (I tinkered with it once a while back), so at this time I can't comment authoritatively on whether this is a good idea or not. I can say though that I'd always want Flintrock to work extremely well out-of-the-box, and expose any additional complexity (e.g. via a plugin system) only to those users who ask for it. As a sort of case study, figuring out what it takes to support Ubuntu may give us a better idea of how to approach this problem. |
Happy to report that I was able to spin up a two node cluster using ubuntu 16.04.beta2LTS AMI (with spark pre-installed): the instance setup went fine (see below), but start-master.sh and start-slave.sh did not succeed (probably because of "spark/sbin" path) but I was able to start them manually. One approach for fixing this issue is to add Spark's sbin directory to PATH so one can call those scripts directly by names.
|
Hmm, why do you think there is a problem with the sbin path? That part should work regardless of the Linux distribution, so I would assume it's something else interfering with the master/slave startup. |
Is this a known issue? (I am spinning up a Ubuntu 14.04.4 LTS AMI from mac os) Thanks
The text was updated successfully, but these errors were encountered: