Dear Sumit,

Hope you are doing well.

When you see this, it basically means that you are unable to connect to the NameNode from the SecondaryNamenode.

Please follow the steps given below to resolve this issue:

Step 1 : Stop all the running daemons in the cluster

Step 2 : Disable the firewall in the Namenode and SecondaryNamenode

sudo service iptables stop
 
sudo service chkconfig off

Step 3 : Make sure that the ssh login is working from the SecondaryNamenode to all the nodes and vice versa

ssh destination_host_name


Step 4 : Now start the daemons in the cluster

I think this will resolve your query

Please let me know if you have any further issue regarding this.

Feel free to contact us in case you have any other query.