Reputation: 41
When I build hadoop cluster based on vmware, and I use sbin/start-dfs.sh
command, I meet the problem about ssh. It says,
ssh: Could not resolve hostname now.: No address associated with hostname
I have used vi /etc/hosts
command to check the hostname and IP address, and vi /etc/profile
command. I ensure that there is no fault.
Upvotes: 2
Views: 6938
Reputation: 19091
Few suggestions
ssh hostx date
and it doesn't ask for a password.127.0.0.1 localhost localhost.localdomain
::1 localhost localhost.localdomain
172.16.151.224 host1.test.com host1
172.16.152.238 host2.test.com host2
172.16.153.108 host3.test.com host3
Upvotes: 1