Support Questions
Find answers, ask questions, and share your expertise

Getting "no reply to host" error after mkdir call with local parameters

New Contributor

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?

6 REPLIES 6

@Dave Babbitt

HDFS is down. Make sure that you bring up HDFS, Mapreduce, Yarn and Zookeeper in your cluster.

Login to ambari and hit start on those services

New Contributor

Going to http://127.0.0.1:8888/ gets an ERR_CONNECTION_REFUSED - how do I login to ambari?

@Dave Babbitt

Login to the vm

ambari-server status

if down then ambari-server start

http://127.0.0.1:8080 ambari port is 8080

New Contributor

@Neeraj Sabharwal

Ambari Server running

Found Ambari Server PID: 2051 at: /var/run/ambari-server/ambari-server.pid

Mentor
@Dave Babbitt

ssh to the host

ssh -P 2222 root@127.0.0.1

restart host

sudo reboot

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.