AnsweredAssumed Answered

MapR Sandbox using Vagrant

Question asked by communityadmin on Aug 27, 2014
Latest reply on Sep 3, 2014 by richardshaw
Hi folks - just starting out with MapR here and we are thinking of using vagrant for the local development environment.  I notice there is a sandbox "box" on the mapr site here:

The goal is to have a vagrant project with provisioners to add things like storm, hbase, etc to the basic box.

Is anyone using this for development?  Using this base box in a basic vagrantfile seems to work, in that I can connect to hue, etc - however I'm having some trouble getting yum to work for installing packages, etc to provision extras like storm, etc into the vm.  DNS is also behaving a bit strangely for me.  Any tips or sample vagrantfiles out there to suit this box?

my current VagrantFile is here::

    Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| = ""
        # Handle local proxy settings
      if Vagrant.has_plugin?("vagrant-proxyconf")
        if ENV["http_proxy"]
          config.proxy.http = ENV["http_proxy"]
        if ENV["https_proxy"]
          config.proxy.https = ENV["https_proxy"]
        if ENV["no_proxy"]
          config.proxy.no_proxy = ENV["no_proxy"]
      config.vm.provider "virtualbox" do |v|
        v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]

Main issues I'm having are with network (dns on private network, yum not seeing proxy).

Cheers again!