Hello, all the masters here!
127.0.0.1 localhost.localdomain localhost 172.16.34.143 cluster2.test.com cluster2 172.16.34.140 cluster3.test.com cluster3 172.16.34.139 cluster4.test.com cluster4 172.16.34.141 cluster5.test.com cluster5
If removing lock file doesn't help and if you are stuck on cloudera manager, do "Abort installation" and then retry on failed hosts.
Following has been done to get rid of the issue:
1) Aborted installation.
2) Logged in to each failed host and removed files in /tmp and retried installation on each failed host.
Below is the example:
rm -rf scm_prepare_node.VqVHCy66 scm_prepare_node.WjYHxBu2 scm_prepare_node.0Hk6W9O1 .scm_prepare_node.lock
Removed any hidden files too under /tmp directory on the failed host.
Use ls -al command to view hidden files