Created on 12-20-2017 11:29 PM - edited 08-18-2019 02:49 AM
Hello,
Just trying to work through the tutorial, im using the docker version. All was going well, until I got to the "explore Ambari" part. It seems some connections are getting refused, yet Ambari is running fine, and I can access the sandbox through the terminal and stop/start Ambari. Please have a look at the picture below.
Created 02-09-2020 07:32 PM
I got the same error and my /etc/servoces looks right, and no datanode being started due to port 50070 is not opened:
[root@sandbox ~]# cat /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.17.0.2 sandbox.hortonworks.com sandbox
[root@sandbox ~]#
Created 02-12-2020 12:37 PM
Your /etc/hosts file does not look correct.
According to Learning the Ropes of the HDP Sandbox, the IP address for Docker is 127.0.0.1 and /etc/hosts file should contain something like:
127.0.0.1 sandbox-hdp.hortonworks.com sandbox-hdf.hortonworks.com localhost