Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.7.0
-
None
Description
Now that BIGTOP-1171 is nearing completion (puppetization of vagrant), we can move towards setting up a real hadoop "cluster".
The goal here will be to allow us to do more with vagrant than just spinning up a single VM. To scale the vagrantfile, we can do something like :
if ARGV[1] == 'cluster' cluster = true else cluster = false end
I think the Vagrantfile can look something like this:
Vagrant.configure(VAGRANT_API_VERSION) do |config| # Head node config.vm.define :bigtop1 do |bigtop1| # If "cluster" then add a bunch of slaves also if cluster == true # Slave nodes .... config.vm.define :bigtop2 do |bigtop2| config.vm.define :bigtop3 do |bigtop3| config.vm.define :bigtop4 do |bigtop4|