TDP Datacenter (Sandbox)
Import the Sandbox virtual machine into VirtualBox and access the TDP Datacenter testing and experimentation environment for the first time.
The TDP Datacenter Sandbox is a pre-configured virtual machine that emulates a single-node TDP Datacenter cluster. With it, you can quickly and easily explore, mainly for study or testing, features such as:
- Data ingestion and transformation.
- Data pipeline execution.
- Integration testing with analytical tools.
It serves developers, data analysts, and administrators who want to test advanced data transformation, processing, and analysis features before taking them to production, without the complexity of a full installation.
This guide shows how to import, configure, access, and use the TDP Datacenter Sandbox.
Prerequisites
Windows 10 or higher, or Linux with VirtualBox 7 or higher
4 vCPUs available
10 GB available
Initially 100 GB, potentially growing to 140 GB
Installed and configured
Steps
Choose the step:
Step 3
Access and start the services
Open the Sandbox Home page and start the services through Apache Ambari.
- 1 · Import the Sandbox
- 2 · Sandbox name
- 3 · Access and start the services
- 4 · Access through SSH
You want the TDP Datacenter Sandbox running on your computer. It is distributed as an .ova file in the Tecnisys Public Package Repository: you download the file, import the image into VirtualBox, and start the virtual machine (VM).
Download the Sandbox
The Sandbox .ova file on your computer.
Download the Sandbox (.ova file) from the Tecnisys Public Package Repository.
The Sandbox files are in the /sandbox/tdp/ directory of the repository.
.ova files follow the pattern sandbox-tdp-XXX-NNN-ova, where:
- XXX - TDP version. Example: 230
- NNN - Sequential number. Example: 001
It worked when
.ova file is on your computer.Import the image and start the VM
The Sandbox imported into VirtualBox and running.
2.1. Open VirtualBox.
2.2. In the top menu, click File → Import Appliance.
2.3. In the window that opens, select the Sandbox .ova file you downloaded.
2.4. Click Finish to start importing the virtual machine (VM) image.
2.5. Accept the license agreement by clicking I Agree.
2.6. Wait for the VM image import to complete.
2.7. Start the imported VM.
2.8. Wait for the VM to start and display the customized initial screen.
It worked when
When using a local VM for testing and studies, it is recommended to map the VM's domain locally. This configuration makes it easier to access the environment, enables port forwarding, and better simulates a production environment, without depending on external DNS servers.
Configure the hosts file on the local host (Windows or Linux), associating the IP 127.0.0.1 with the Sandbox hostname (FQDN) (sandbox-tdp<MAJOR VERSION><MINOR VERSION>.tecnisys.com.br). For example: sandbox-tdp23.tecnisys.com.br.
The hosts file is a local configuration file present in operating systems such as Windows (C:/Windows/System32/drivers/etc/hosts) and Linux (/etc/hosts). It resolves domain names to IPs without querying an external DNS server.
Choose the operating system of your computer. The steps below change with the choice.
Open the hosts file
The /etc/hosts file open for editing.
Open the hosts file in a text editor. In this tutorial, we use vi:
sudo vi /etc/hosts
Add the Sandbox line
The resolution of 127.0.0.1 to the Sandbox hostname.
Add a new line at the end of the file (in vi, press G to go to the end of the file and i to insert a new line) with the resolution of the IP 127.0.0.1 to the Sandbox hostname. After the IP, enter the hostname with the domain (FQDN), a space, and then just the hostname. See the example below:
127.0.0.1 sandbox-tdp23.tecnisys.com.br sandbox-tdp23
Save and close the file
The change written.
Save and close the file (in vi, press ESC and type :wq).
grep sandbox-tdp23 /etc/hosts
It worked when
hosts file.$ grep sandbox-tdp23 /etc/hosts
127.0.0.1 sandbox-tdp23.tecnisys.com.br sandbox-tdp23Open Notepad as Administrator
Notepad open as Administrator.
Open Notepad as Administrator.
Right-click the Notepad icon and select Run as Administrator.
Open the hosts file
The hosts file open in Notepad.
In Notepad, open the file C:/Windows/System32/drivers/etc/hosts.
Add the Sandbox line
The resolution of 127.0.0.1 to the Sandbox hostname.
Add a new line at the end of the file with the resolution of the IP 127.0.0.1 to the Sandbox hostname. After the IP, enter the hostname with the domain (FQDN), a space, and then just the hostname. See the example below:
127.0.0.1 sandbox-tdp23.tecnisys.com.br sandbox-tdp23
Save the file
The change written.
Save the file.
findstr sandbox-tdp23 C:\Windows\System32\drivers\etc\hosts
It worked when
hosts file.C:\> findstr sandbox-tdp23 C:\Windows\System32\drivers\etc\hosts
127.0.0.1 sandbox-tdp23.tecnisys.com.br sandbox-tdp23With the VM running, use the browser to access and interact with the TDP cluster services in the Sandbox. You open the Sandbox Home page and, through it, the Apache Ambari web interface, the centralized administration component of the TDP platform, to start the TDP Cluster services, such as Apache Kafka, Apache NiFi, Trino, among others.
Open the Sandbox Home page
The Sandbox Home page in the browser.
Open your browser and access the Sandbox Home page through the following URL:
http://localhost:42080
If you added a local name resolution for the Sandbox VM, use the hostname defined in the hosts file. For example:
http://sandbox-tdp23.tecnisys.com.br:42080
It worked when
Quick Links area.Use the Quick Links
The access URL and credentials of each component.
The Sandbox Home page has the Quick Links area, with quick access to the web interfaces of the TDP Cluster components. Select the card of the component you want to see the access URL and the access credentials.
It worked when
Log in to Apache Ambari
The Apache Ambari web interface open.
From the Sandbox Home page, access the Apache Ambari web interface. On the Apache Ambari login screen, enter the credentials below:
- Username: admin
- Password: admin
It worked when
Start the services
The service components started.
Avoid starting many services at the same time: a local VM with limited computing resources may have performance problems and instability.
Select the service of interest in the left side menu.
Start all the service components by clicking the Actions → Restart All button in the upper right corner.
It worked when
Restart All action.With the VM running, use the terminal to access and interact with the TDP cluster services in the Sandbox.
2122
devopstdp
The password is in Credentials.
Connect through SSH
An SSH session open on the Sandbox.
In a terminal, you access the Sandbox through an SSH connection on the VM port given in -p:
ssh -p 2122 devopstdp@localhost
It worked when
devopstdp user (Credentials).Credentials
Access credentials of the users already created on the Sandbox VM:
- TDP 2.3
- TDP 2.2
| User | Password |
|---|---|
| root | tecnisystdp23 |
| sandbox | tecnisystdp23 |
| devopstdp | tecnisystdp23 |
| User | Password |
|---|---|
| root | tecnisystdp22 |
| sandbox | tecnisystdp22 |
| devopstdp | tecnisystdp22 |
Main credentials of the TDP Cluster service users on the Sandbox:
- TDP 2.3
- TDP 2.2
| Service | User | Password |
|---|---|---|
| Airflow | admin | tecnisystdp23 |
| Ambari | admin | admin |
| Druid Database User | druid | druid |
| Grafana | admin | tecnisystdp23 |
| Hive Database User | hive | hive |
| Kafka UI | kafka-ui | tecnisystdp23 |
| Ranger | admin | tecnisystdp23 |
| Ranger Admin Credentials for Ambari | amb_ranger_admin | tecnisystdp23 |
| Ranger Database User | ranger | ranger |
| Service | User | Password |
|---|---|---|
| Airflow | admin | tecnisystdp22 |
| Ambari | admin | admin |
| Druid Database User | druid | druid |
| Grafana | admin | tecnisystdp22 |
| Hive Database User | hive | hive |
| Kafka UI | kafka-ui | tecnisystdp22 |
| Ranger | admin | tecnisystdp22 |
| Ranger Admin Credentials for Ambari | amb_ranger_admin | tecnisystdp22 |
| Ranger Database User | ranger | ranger |
Values of the sensitive properties of the TDP Cluster on the Sandbox:
- TDP 2.3
- TDP 2.2
| Service | Property | Value |
|---|---|---|
| Knox | Master Secret | tecnisystdp23 |
| NiFi | CA Token | tecnisystdp23 |
| NiFi | Encryption Password | tecnisystdp23 |
| NiFi | Registry Encryption Password | tecnisystdp23 |
| NiFi | Sensitive property values encryption password | tecnisystdp23 |
| Ranger | Usersync User's Password | tecnisystdp23 |
| Ranger | Tagsync User's Password | tecnisystdp23 |
| Superset | SECRET_KEY | tecnisystdp23 |
| Superset | Superset Admin Email | admin@tecnisys.com.br |
| Superset | Superset Admin Firstname | admin |
| Superset | Superset Admin Lastname | tecnisys |
| Superset | Superset Admin Password | tecnisystdp23 |
| Service | Property | Value |
|---|---|---|
| Knox | Master Secret | tecnisystdp22 |
| NiFi | CA Token | tecnisystdp22 |
| NiFi | Encryption Password | tecnisystdp22 |
| NiFi | Registry Encryption Password | tecnisystdp22 |
| NiFi | Sensitive property values encryption password | tecnisystdp22 |
| Ranger | Usersync User's Password | tecnisystdp22 |
| Ranger | Tagsync User's Password | tecnisystdp22 |
| Superset | SECRET_KEY | tecnisystdp22 |
| Superset | Superset Admin Email | sandbox-tdp22@tecnisys.com.br |
| Superset | Superset Admin Firstname | tecnisys |
| Superset | Superset Admin Lastname | tdp22 |
| Superset | Superset Admin Password | tecnisystdp22 |
Communication ports
The table below lists the services and the respective communication ports used on the Sandbox. This configuration allows access to the services hosted on the virtual machine.
| Application | Port |
|---|---|
| Ambari | 8080 |
| Apache | 42080 |
| Datanode | 50075 |
| Atlas | 21000 |
| Grafana | 3000 |
| Druid Router | 8888 |
| Druid Coordinator | 8081 |
| HBaseMaster | 16010 |
| HBaseRegion | 16030 |
| HDFS | 8020 |
| HiveJDBCJar | 10002 |
| HostSSH | 2122 |
| HostSSH | 2200 |
| JobHistory | 19888 |
| Kafka | 8079 |
| Knox | 8443 |
| NiFi | 9090 |
| NiFi Registry | 61080 |
| NodeManager | 8042 |
| Nodemanager | 8040 |
| ResourceManager | 8032 |
| Infra Solr | 8886 |
| Solr Admin | 8983 |
| SparkHistoryServer | 18082 |
| WebHBase | 60080 |
| Ranger | 50070 |
| Ranger | 6080 |
| YARN | 8088 |
| YarnATS | 8188 |
| Zeppelin | 9995 |
| Superset | 9088 |
| AirflowUI | 18080 |
| CeleryFlowerUI | 5555 |
| Trino | 5555 |
Use this table to access and configure the services.
When something goes wrong
Troubleshooting
Describe the error or choose one of the known issues below.
- The VM does not start and VirtualBox shows an error. Cause: Your local machine already uses one of the ports configured for the Sandbox. In this case, the VM does not start and VirtualBox shows an error, aborting the execution. What to do: Check, in the communication ports table on this page, the ports configured for the Sandbox.