Installing Hortonworks sandbox on Virtual Box and using Hadoop
In this tutorial we are going to download the latest version of Hortonworks sandbox for Virtual Box and then installing it on the Virtual Box running on Windows Operating System. This is the first step in learning Hadoop and its components. After completion of the installation step you will be able to use Hadoop and start learning it. Hortonworks sandbox is preconfigured Hadoop box for developers for learning all the components of Hadoop.
This tutorial is an step by step guide to download Hortonworks sandbox and install it on Virtual Box. After installing it on the Oracle Virtual Box you can use this Hadoop distribution to learn and experiment with the many example programs given in our Hadoop Tutorials section. Our tutorials aims to make IT professional expert in Big Data and Hadoop technologies.
1. Where to download Hortonworks sandbox for Virtual Box?
The Hortonworks sandbox for Virtual Box is officially developed by Hortonworks and they are distributing it from their website. Developers can visit Hortonworks official website and download it for learning.
Website to download Hortonworks Virtual Box .ova file: https://hortonworks.com/downloads/.
Visit the above url and you will find link as shown below:
Click on the "DOWNLOAD FOR VIRTUALBOX" button and following registration screen displays:
Here is the file after download:
Your version might different as there will be new version in the future. So, this is the file which we will import into Oracle VirtualBox.
2. Install Hortonworks sandbox on VirtualBox
Now we will go ahead with the installation of Hortonworks sandbox on VirtualBox. First of install VirtualBox if it is not installed on your computer. Open the Oracle VM VirtualBox Manager from start menu of windows (Windows Start Menu --> Oracle VM VirtualBox Manager).
Here is the screen of Oracle VM VirtualBox Manager:
Then click on the File-->Import Appliance as shown below:
Now import Import Virtual Appliance screen appears as shown below:
In this screen click on the import icon as marked in circle in the above screen.
In this screen browse the location of your .ova file as shown below:
Then click on the "Open" button. After this following screen will be displayed with the path of the selected .ova file as shown in the following screen shot:
Now click on the next and the Appliance settings screen will be displayed as shown below:
You can change the settings as per your system needs. After this click on the "Import" button. This will start import process as shown below:
After import completion you can see the VM in the list as shown below:
Now we have to do a little setting in the network interface of newly installed VM. Click on the "Settings" gear just below the Machine menu bar. Then browse to the "Network" --> "NAT" --> "Advanced" --> Expand Advanced section --> Check the "Cable Connected" check box.
Selecting the "Cable Connected" is necessary because if it is not checked then the VirtualBox VM won't able to connect to your Host Computer and you won't able to open Admin urls of the Hadoop components in browser.
Now Click on the "OK" button to complete settings. After this you can start your virtual box. In the next section we will see how to login to virtual box VM and then change the root passwords.
Read next section Hortonworks sandbox reset root password.