I typed:

$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

Deleted this directory:

$ rm -ri /tmp/hadoop-root

Formatted namenode again:

$ /bin/hadoop namenode -format

Stopped:

$ /bin/stop-all.sh


then typed:



$ ssh localhost

so it didn't want me to enter a password. I started:

$ /bin/start-all.sh

But nothing changed :(

----- Özgün İleti -----
Kimden : [email protected]
Kime : [email protected]
Gönderme tarihi : 12/04/2009 21:33
Konu : Re: Ynt: Re: Cannot access Jobtracker and namenode
There are two commands in hadoop quick start, used for passwordless ssh.
Try those.

$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
$ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys

http://hadoop.apache.org/core/docs/current/quickstart.html

-- 
M. Raşit ÖZDAŞ
 
Halil İbrahim ÇAKIR

Dumlupınar Üniversitesi Bilgisayar Mühendisliği 

http://cakirhal.blogspot.com 

Reply via email to