You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Saurabh Suman <sa...@rediff.com> on 2009/08/03 07:04:52 UTC

Nutch hadoop installation,asking for password

Hi
I am using nutch 1.0.when integrating nutch with hadoop  i generated my
public keys with ssh-keygen -t rsa on masters. 
cd /nutch/home

ssh-keygen -t rsa (Use empty responses for each prompt)
  Enter passphrase (empty for no passphrase): 
  Enter same passphrase again: 
  Your identification has been saved in /nutch/home/.ssh/id_rsa.
  Your public key has been saved in /nutch/home/.ssh/id_rsa.pub.
  The key fingerprint is:
  a6:5c:c3:eb:18:94:0b:06:a1:a6:29:58:fa:80:0a:bc nutch@localhost

On the master node i copied the public key  just created to a file called
authorized_keys in the same directory: 
copied it on slaves.

cd /nutch/home/.ssh
cp id_rsa.pub authorized_keys

then i copied key to slave.
scp /nutch/home/.ssh/authorized_keys
nutch@germinait09:/nutch/home/.ssh/authorized_keys

Now when i am running command  bin/start-all.sh it is asking for password
for slave.
here germinait12 is master
       germianit09 is slaves

[nutch@germinait12 bin]$ ./start-all.sh
starting namenode, logging to
/nutch/search/logs/hadoop-nutch-namenode-germinait12.out
nutch@germinait09's password: localhost: starting datanode, logging to
/nutch/search/logs/hadoop-nutch-datanode-germinait12.out

germinait09: starting datanode, logging to
/nutch/search/logs/hadoop-nutch-datanode-germinait09.out
germinait12: starting secondarynamenode, logging to
/nutch/search/logs/hadoop-nutch-secondarynamenode-germinait12.out
starting jobtracker, logging to
/nutch/search/logs/hadoop-nutch-jobtracker-germinait12.out
nutch@germinait09's password: localhost: starting tasktracker, logging to
/nutch/search/logs/hadoop-nutch-tasktracker-germinait12.out

samething happen when i run command bin/stop-all.sh

[nutch@germinait12 search]$ bin/stop-all.sh
stopping jobtracker
nutch@germinait09's password: localhost: stopping tasktracker

germinait09: no tasktracker to stop
stopping namenode
nutch@germinait09's password: localhost: stopping datanode

germinait09: no datanode to stop
germinait12: stopping secondarynamenode
what to do so,that it should not   ask for password again
-- 
View this message in context: http://www.nabble.com/Nutch-hadoop-installation%2Casking-for-password-tp24785383p24785383.html
Sent from the Nutch - User mailing list archive at Nabble.com.