Hortonworks Sandbox Configuration


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

Hortonworks Sandbox

Add Virtual Box Shared Folder

Adding a shared folder to Virtual Box will allow you to access the Kylo project folder outside of the VM so you can copy project artifacts to the sandbox for testing.


This should be done before starting the VM to that you can auto mount the folder.

VBox GUI > Settings > Shared Folders > Add
Folder Path = <pathToProjectFolder>
Folder Name = kylo

Choose Auto-mount so that it remembers next time you start the VM.

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  


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

  1. Start the sandbox.
  2. SSH into the sandbox.
$ ssh root@localhost -p 2222 (password is "kylo")


You will be prompted to change your password.

  1. Add the Ambari admin password.
$ ambari-admin-password-reset

After setting the password the Ambari server will be started.