Versions Compared

Key

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

...

  1. On the Ambari screen, login using default username admin, password admin.

  2. On the welcome page, choose "Launch Install Wizard."

  3. Specify a name for your cluster, and then click Next.

  4. On the Select Version page, choose which version of HDP to install, and then click Next.

  5. On the Install Options page, complete the following steps:

    1. List the FQDNs of the virtual machines. For example:

      Code Block
      c7001.ambari.apache.org
      c7002.ambari.apache.org
      c7003.ambari.apache.org
      

      Alternatively, you can use a range expression:

      Code Block
      c70[01-03].ambari.apache.org
      
    2. Upload the insecure_private_key file that you created earlier: browse to the ambari-vagrant directory, navigate to the operating system folder for your VM's, and choose the key file.

    3. Change the SSH User Account to vagrant.

    4. Click "Register and Confirm."

  6. On the Confirm Hosts page, Ambari displays installation status.
    If you see a yellow banner with the following message, click on the link to review warnings:


    See the Troubleshooting section (later on this page) for more information.

  7. When all host checks pass, close the warning window:


  8. Click Next to continue:
  9. On the Choose Services page, uncheck any components that you do not expect to use. If any are required for selected components, Ambari will request to add them back in.
  10. On the Assign Masters screen, choose hosts or simply click Next to use default values.
  11. On the Assign Slaves and Clients screen, choose hosts or simply click Next to use default values.
  12. On the Customize Services screen
    1. Review services with warning notes, such as Hive and Ambari Metrics in the following image:
    2. Specify missing property values (such as admin passwords) as directed by the installation wizard. When all configurations have been addressed, click Next.

  13. On the Review screen, review the service definitions, and then click Next.

  14. The Install, Start and Test page shows deployment status. This step takes a while.

  15. When the cluster installs successfully, you can snapshot the VMs to have a fresh cluster with Ambari and HDP installed, to rerun later if desired. This allows you to experiment with the cluster and quickly restore back to a previous state if you wish. For more information about snapshots, see the vagrant snapshot command in "Basic Vagrant Commands," later in this Quick Start.

Troubleshooting

This subsection describes a few error conditions that might occur during Ambari installation and HDP cluster deployment:

Confirm Hosts

If you see an error similar to the following on the Confirm Hosts page of the Ambari installation wizard, click the link to see the warnings:
     'Some warnings were encountered while performing checks against the 3 registered hosts above. Click here to see the warnings."

ntpd Error

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

...

You should see messages confirming that ntpd is running. Navigate back to the Host Checks window of the Ambari installation wizard and click Rerun Checks. When all checks complete successfully, click Close to continue the installation process.

Install, Start and Test

If the Install, Start and Test step fails with the following error during DataNode deployment: 

...

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

Restarting Virtual Machines


Reference: Basic Vagrant Commands

The following table lists several common Vagrant commands. For more information, see Vagrant Command-Line Interface documentation.

...