Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are three main steps for installing Ambari and HDP using VirtualBox and Vagrant:

  1. Install VirtualBox and Vagrant.
  2. Start one or more VMs, each representing a node in a cluster.
  3. Download, install, and deploy the version of Ambari you wish to use.
  4. From Ambari, deploy the version of HDP you wish to use. 

Note: these steps have been tested on MacOS 10.9.5.

VM Background

(to be added)

Installing VirtualBox and Vagrant

To install VirtualBox, visit

Quick Start Guide - Installing a cluster with Ambari (with local VMs)

This document shows how to quickly set up a cluster using Ambari on your local machine using virtual machines.
This utilizes VirtualBox and Vagrant so you will need to install both.
Note that the steps were tested on MacOS 10.8.4 / 10.8.5.

Setup

Install VirtualBox from: https://www.virtualbox.org/wiki/Downloads.
Recommendation as of 4/25/16: there are potential issues running the latest version of VirtualBox with the Ambari Vagrant setup. We recommend installing an older (4.x) version. The following instructions have been tested on 4.3.34.

Next, install Vagrant from
Install Vagrant from: http://downloads.vagrantup.com.

After you have installed VirtualBox and Vagrant on your computer, check out clone the “ambari-vagrant” GitHub repo on githubyour machine. From the command-line:

Code Block
git clone https://github.com/u39kun/ambari-vagrant.git

...

Copy the private key to your home directory (or some place convenient for you) so that it’s easily accessible for uploading via Ambari Web:any convenient directory); you will need the key for Ambari.

Code Block
vagrant

The above command shows the command usage and also creates a private key as ~/.vagrant.d/insecure_private_key.  This key will be used in the following steps.

...