hadoop fs -mkdir /user/hadoop gets this:
mkdir: No Route to Host from sandbox.hortonworks.com/192.168.0.20 to sandbox.hortonworks.com:8020 failed on socket timeout exception
etc/hosts looks like this:
127.0.0.1 localhost.localdomain localhost
192.168.0.20 sandbox.hortonworks.com sandbox ambari.hortonworks.com
How do I fix this?
ssh to the host
ssh -P 2222 firstname.lastname@example.org
when it restarts, wait a few min then login to http://sandbox.hortonworks.com:8080 on your host using your favorite browser
check all services, if still down, start all using Ambari. Then for good measure run service checks. If still having issues, re-import your VM.