Created 05-18-2017 10:42 PM
I have been able to connect to HDP sanbox by ssh -p 2222. But with the new HDF sandbox, I was stuck again with the "connection refused" error. After I brought up the sandbox, I tried the URL "http://10.0.2.15:18888/" but just got timeout error. Any idea ? @mqureshi
Created 05-19-2017 11:54 PM
Finally I figured out the reason. I downloaded the HDF sandbox vmware image. When I click the file to open, it pop up and automatically opened by virtualbox which can't work correctly for the network part. Realized this, I turned off and opened in VMWare. Issue gone. Thanks for your help.
Created 05-19-2017 05:29 PM
Is your VM setup to use NAT? I've got the HDF Sandbox running right now, and have a 127.0.0.1 IP.
Created 05-19-2017 05:46 PM
Yes, the VM setup is using NAT, After I started the VM. Before press ALT+F5, The VMware says "please open a browser's address field: http://10.0.2.15:18888/. However I got "connection time out " error. I press ALT+F5 to log in the Vmware as root user. Then tried "ssh -p 2222 root@127.0.0.1" it doesn't work. @Sonu Sahi Could you help check if you did the same but got different result ? Thanks
Created on 05-19-2017 05:50 PM - edited 08-18-2019 02:26 AM
Hi @Lucy zhang
I'm using VirtualBox, but, I think the NAT setup is all that is required. I did not do anything special for my setup. Using the VirtualBox menu, I imported the appliance which automatically setup the NAT configuration. When the machine finished installing, I started the machine and saw this screen:
One thine to note is the ports on the HDF Sandbox are different compared to the HDP Sandbox. While 2222 was correct for SSH'ing into the HDP Sandbox, HDF Sandbox actually uses 12222. I use the following command to SSH into the HDF Sandbox: ssh root@127.0.0.1 -p 12222
Created 05-19-2017 11:04 PM
Thank you @Sonu Sahi for your response. I'm actually also using virtual box. Attached is my screenshot: NOt sure what's wrong. My network configuration also NAT.
Created 05-19-2017 11:54 PM
Finally I figured out the reason. I downloaded the HDF sandbox vmware image. When I click the file to open, it pop up and automatically opened by virtualbox which can't work correctly for the network part. Realized this, I turned off and opened in VMWare. Issue gone. Thanks for your help.
Created 05-20-2017 12:02 AM
Awesome, glad you are back up and running 🙂
Created 05-23-2017 12:02 AM
Hi @Sonu Sahi . Any idea with below error? I tried this script in both virtualBox and Vmware. Neither works.
In VirtualBox, it complains vboxmanage not found.
Thanks
[root@sandbox-hdf ~]# ./auto_scripts/launch_ambari_ui.sh HDF
Sandbox Virtual Environment Selection Menu
'Docker' - is my environment
'VirtualBox' - is my environment
Enter the 'virtual environment' for HDF Sandbox: VirtualBox
You entered HDF Sandbox runs on: VirtualBox Start VirtualBox VM's Docker HDF Sandbox... ./auto_scripts/virtualbox-scripts/virtualbox_sandbox_hdf.sh: line 3: vboxmanage: command not found Starting Ambari Services, may take 2.5 minutes...
Created 08-15-2017 03:57 AM
Did you ever resolve this issue? I am having the same problem as you in Docker. Port 18888 works fine, but Nifi UI and the other ports are getting connection refused.
Created 05-23-2017 02:16 PM
Can you get to the main welcome page? http://127.0.0.1:18888 or try also http://127.0.0.1:9080
Created on 05-23-2017 05:36 PM - edited 08-18-2019 02:26 AM
Yes, I'm able to log on http://127.0.0.1:9080 and http://127.0.0.1:18888. Can't open http://sandbox-hdf.hortonworks.com:19090/nifi
Have issue with the tutorial script . It says virtualBox command not found. @Sonu Sahi
Created 05-23-2017 05:40 PM
I'm able to open Nifi UI by http://localhost:19090/nifi/ . Maybe I can ignore the script error ?
Created 05-23-2017 07:24 PM
Same issue with script init_nifi_in_src_data.sh. Command not found. It's a pain. You don't have this issue ? @Sonu Sahi
Created 05-23-2017 07:34 PM
No, I don't have this issue. I'm able to hit the nifi UI at http://127.0.0.1:19090/nifi/ without a problem
Created 03-18-2018 05:40 PM
I have the same error (using either IP address or /etc/hosts entry):
ssh root@sandbox-hdf.hortonworks.com -p 12222
ssh: connect to host sandbox-hdf.hortonworks.com port 12222: Connection refused
ssh root@172.17.0.2 -p 12222 -->
ssh: connect to host 172.17.0.2 port 12222: Connection refused
I am using a fresh Dockerized HDF sandbox installed (today) on Ubuntu 16.04 - with the Trucking IoT tutorial set up from here:
https://github.com/orendain/trucking-iot/tree/hadoop-summit-2017#setup-on-existing-hdf-hdp
The weird thing is that the 'shell-in-a-box' works fine (with either IP address or /etc/hosts entry):
http://sandbox-hdf.hortonworks.com:4200
Anyone have any ideas on what might be amiss? Is this biting anyone else?
Thanks
Created 03-18-2018 06:01 PM