Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1178

Clusterize the puppetized vagrant deployer.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • deployment
    • 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|
      
      

      Attachments

        1. BIGTOP-1178.3.patch
          13 kB
          Evans Ye
        2. BIGTOP-1178.2.patch
          13 kB
          Evans Ye
        3. BIGTOP-1178.1.patch
          8 kB
          Evans Ye

        Activity

          People

            evans_ye Evans Ye
            jayunit100 jay vyas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: