Problem: Getting Error: Retrying connect to server: on Edureka VM

When a particular / few of the daemons of Hadoop Cluster is not working, then you would be receiving the error as in the below screenshot.

You can find out which daemon is not running in the cluster based on the port number: or by using the below command.

Command: sudo jps

Please refer to the below screenshot for reference

From the above screenshot we can find that resource manager is not running. In such cases, try by rebooting the VM using the below command.

Command: sudo su

Command: reboot 

After rebooting check if all the daemons are working fine and then try to run it again.

Please feel free to revert if you need any further help.