Connection to Hadoop instance fails


I have installed hadoop and spark on my Ubuntu 64-bit VMware player. The processes running are: ResourceManager, NodeManager, SecondaryNameNode and DataNode. 

On entering the command: hdfs dfs -ls /   I am presented with this error:

ls: No Route to Host from hadoop/ to failed on socket timeout exception.

The highlighted ip is the inet ip on the VM.  I am able to connect successfuly to this ip from FileZilla and view the files on the VM.

Aooreciate a quick response.

Regards, Sri

1 Answer(s)


Hi Sridhar,

Your namenode is not running, please restart the hadoop services again.

Hope this helps.


Your Answer

Click on this code-snippet-icon icon to add code snippet.

Upload Files (Maximum image file size - 1.5 MB, other file size - 10 MB, total size - not more than 50 MB)