Hortonworks Sandbox Configuration¶
Introduction¶
This guide will help you install the Hortonworks sandbox for development and RPM testing.
Install and Configure the Hortonworks Sandbox¶
Download the latest HDP sandbox and import it into Virtual Box. We want to change the CPU and and RAM settings:
- CPU - 4
- RAM - 10GB
Open VM Ports¶
The following ports needs to be forwarded to the VM:
(On Virtual Box > Settings > Network > Port Forwarding
This table shows the ports to add.
Application Name | Host Port | Guest Port | Comment |
Kylo UI | 8401 | 8400 | Use 8401 on the HostIP side so that you can run it in your IDE under 8400 and still test in the VM |
Kylo Spark Shell | 8450 | 8450 | |
NiFi | 8079 | 8079 | |
ActiveMQ Admin | 8161 | 8161 | |
ActiveMQ JMS | 61616 | 61616 | |
MySQL | 3306 | 3306 |
Note
HDP 2.5+ sandbox for VirtualBox now uses Docker container, which means configuring port-forwarding in the VirtualBox UI is not enough anymore. You should do some extra steps described in: 2.5+ Sandbox port forwarding on VirtualBox
Startup the Sandbox¶
- Start the sandbox.
- SSH into the sandbox.
$ ssh root@localhost -p 2222 (password is "kylo")
Note
You will be prompted to change your password.
- Add the Ambari admin password.
$ ambari-admin-password-reset
After setting the password the Ambari server will be started.