Versions Compared

Key

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

This Quick Start guide is for anyone readers who is are new to the use of virtual machines, Apache Ambari, and/or the Apache Hadoop component stack, and who would like to install and use a small , local Hadoop cluster. The instructions are for a local host machine running OS X.

...

On the Host Checks window, the following warning indicates that you need to start ntpd on each host:


To do this, start the services, for each VM navigate to a terminal window for each VM (from on your Mac, vagrant ssh <VM-name>), and issue . Issue the following commands:

service ntpd start
service ntpd status

...

yum remove -y snappy-1.1.0-3.el7.x86_64
yum install snappy
-devel -y

Stopping and Restarting Virtual Machines

Hadoop is a complex ecosystem that generates constant with a lot of status checks and cross-component messages among components. When restarting a cluster after halting or taking a snapshot, check the Ambari server and restart it if necessary:. This can make it challenging to halt and restart several VMs and restore them later without warnings or errors.

Recommendations

If you would like to save state for a period of time and you plan to stop using your Mac during that time, if you sleep your Mac the cluster should continue from where it left off after you wake the Mac.

When stopping a set of VMs--if you don't need to save cluster state--it can be helpful to stop all services first, stop ambari-server (ambari-server stop), and then issue a Vagrant halt or suspend command.

When restarting a cluster after halting or taking a snapshot, check Ambari server status and restart it if necessary:

   ambari-server status
ambari-server start

After logging into the Ambari Web UI, expect to see alert warnings or errors due to timeout conditions. Check the associated messages to determine whether they might affect your use of the virtual cluster. If so, it can be helpful to stop and restart one or more associated components.

Reference: Basic Vagrant Commands

...