how to do passwordless ssh access to slave while starting services of hadoop in its multinod cluster.. -
i've installed multinode cluster of hadoop. trying passwordless ssh access slave. i.e. problem that,when start services master asks me password start every service, , takes much time start it.if has solution please help me
you have generate , re-create rsa key namenode datanodes.
user@namenode:~> ssh-keygen -t rsa
just press 'enter' passphrase
user@namenode:~> ssh user@datanode mkdir -p .ssh user@datanode's password:
finally append namenode's new public key user@datanode:.ssh/authorized_keys , come in datanode's password 1 lastly time:
user@namenode:~> cat .ssh/id_rsa.pub | ssh user@datanoe 'cat >> .ssh/authorized_keys' user@datanode's password:
you can test
user@namenode:~> ssh user@datanode
hadoop ssh
No comments:
Post a Comment