Installing the MapR Sandbox with Drill on VirtualBox
Download the MapR sandbox for Drill and import the virtual machine into VirtualBox. Configure the network setting, and start the MapR Sandbox for Drill.
About this task
NOTE The MapR sandbox for Drill on VirtualBox comes with NAT port
forwarding enabled, which allows you to access the sandbox using localhost as the
hostname.
Complete the following steps to install the MapR sandbox with Drill:
Procedure
-
Download the MapR sandbox for Drill file to a directory on
your machine. To access the file, go to https://package.ezmeral.hpe.com/releases/, and select
the directory for the latest MapR release. The file is located
in the
sandbox/
directory for the release, as shown: - Open VirtualBox, and select . The Import Appliance window appears.
-
Go to the directory where you downloaded the MapR sandbox
for Drill file, select the
MapR-Sandbox-For-Apache-Drill-<version>.ova
file, and click Next. The Import Virtual Appliance window appears. - In the Import Virtual Appliance window, select the option to Reinitialize the MAC address of all network cards and then click Import. The Import Appliance imports the sandbox.
- When the import completes, select the MapR sandbox for Drill and then click Settings. The Settings window appears.
- In the Settings window, select Network. The correct setting depends on your network connectivity when you run the sandbox. In general, if you are going to use a wired Ethernet connection, use the default, NAT. If you use ODBC or JDBC on a remote host, select Bridged Adapter. If you are going to use a wireless network, select Host-only Adapter or Bridged Adapter with the Intel(R) Dual Band Wireless-AC 8260 option.
- Click OK to continue.
-
Select the
MapR-Sandbox-For-Apache-Drill-<version>
in VirtualBox, and click Start. -
When you see
maprdemo login:_
prompt, entermapr
and then entermapr
as the password.The message, Welcome to your Demo virtual machine, appears. -
The client must be able to resolve the actual hostname of the Drill node(s) with the
IP(s). Verify that a DNS entry was created on the client machine for the Drill node(s). If
a DNS entry does not exist, create the entry for the Drill node(s).
- For Windows, create the entry in %WINDIR%\system32\drivers\etc\hosts.
- For Linux and Mac, create the entry in /etc/hosts.
Example:127.0.0.1 maprdemo
-
Go to http://localhost:8047 or
http://127.0.0.1:8047 to experience the Drill Web Console, and enter
mapr
as the username and password.NOTE If you used a bridged adapter, the network generates and assigns an IP to the sandbox that you use in place of localhost or 127.0.0.1. To get the IP address, runifconfig
from the sandbox command line to get the sandbox IP address. The IP address is located in the inet address field. You can access the Drill Web Console using the IP address and port 8047, as shown in the following example:http://10.250.56.216:8047
You can access the command line on the virtual machine by pressing Alt+F2 on Windows or Option+F5 on Mac. You can access the sandbox via SSH, as described in Getting to Know the Drill Sandbox.