While awaiting setup of a new development environment, we were
trying to test some concepts in an HDF sandbox running in VirtualBox (version 5.2.16r123759(Qt5.6.2)) on Windows 7 (Windows 7 Enterprise Service pack 1 with 32 GB RAM and 64-bit
Operating System). At a high level, our test was to transfer
JSON records from Kafka to PostGres.
I found HDF 3.1 already has
Postgres 9.2.23 installed. I did the following:
1) Port 5432 was added to
VirtualBox Port Forwarding Rules, as shown in the attachment.
2) Windows Hosts file was updated, as shown in the attachment.
In addition to the above steps you will also need to add a port inside the Docker container to expose the port 5432 something as described in the following article (Although the following article if for HDP the same concept should be applicable for HDF sandbox as well with regard to adding a port).
Thank you very much for your explanation and guidance, Jay! Unfortunately, sandbox.service is not listed in HDF (just sandbox-ambari-services.service and sandbox-splash-web-server.service) nor does the /root/start_scripts/start_sandbox.sh file exist as mentioned in the article. Any suggestions on where to find documentation for HDF 3.1 (Linux sandbox-hdf.hortonworks.com 4.17.2-1.el7.elrepo.x86_64 #1 SMP Sat Jun 16 11:18:11 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux)?