Ynt: Re: Ynt: Re: Cannot access Jobtracker and namenode

2009-04-13 Thread halilibrahimcakir
: 1
SyncTimes(ms): 5 
2009-04-12 23:58:24,184 INFO
org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG: 
/
SHUTDOWN_MSG: Shutting down NameNode at debian/127.0.1.1
/

Thanks

- Özgün İleti -
Kimden : core-user@hadoop.apache.org
Kime : core-user@hadoop.apache.org
Gönderme tarihi : 13/04/2009 9:26
Konu : Re: Ynt: Re: Cannot access Jobtracker and namenode
It's normal that they are all empty. Look at files with .log extension.

12 Nisan 2009 Pazar 23:30 tarihinde halilibrahimcakir
lt;halilibrahimca...@mynet.comgt;
yazdı:
gt; I followed these steps:
gt;
gt; $ bin/stop-all.sh
gt; $ rm -ri /tmp/hadoop-root
gt; $ bin/hadoop namenode -format
gt; $ bin/start-all.sh
gt;
gt; and looked localhost:50070 and localhost:50030 in my browser that
the
gt; result was not different. Again Error 404. I looked these files:
gt;
gt; $ gedit hadoop-0.19.0/logs/hadoop-root-namenode-debian.out1
gt; $ gedit hadoop-0.19.0/logs/hadoop-root-namenode-debian.out2
gt; $ gedit hadoop-0.19.0/logs/hadoop-root-namenode-debian.out3
gt; $ gedit hadoop-0.19.0/logs/hadoop-root-namenode-debian.out4
gt;
gt; 4th file is the last one related to namenode logs in the logs
directory.
gt; All of them are empty. I don't understand what is wrong.
gt;
gt; - Özgün İleti -
gt; Kimden : core-user@hadoop.apache.org
gt; Kime : core-user@hadoop.apache.org
gt; Gönderme tarihi : 12/04/2009 22:56
gt; Konu : Re: Cannot access Jobtracker and namenode
gt; Try looking at namenode logs (under logs directory). There should
be
gt; an exception. Paste it here if you don't understand what it means.
gt;
gt; 12 Nisan 2009 Pazar 22:22 tarihinde halilibrahimcakir
gt; lt;halilibrahimca...@mynet.comgt;
gt; yazdı:
gt; gt; I typed:
gt; gt;
gt; gt; $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
gt; gt; $ cat ~/.ssh/id_dsa.pub gt;gt; ~/.ssh/authorized_keys
gt; gt;
gt; gt; Deleted this directory:
gt; gt;
gt; gt; $ rm -ri /tmp/hadoop-root
gt; gt;
gt; gt; Formatted namenode again:
gt; gt;
gt; gt; $ /bin/hadoop namenode -format
gt; gt;
gt; gt; Stopped:
gt; gt;
gt; gt; $ /bin/stop-all.sh
gt; gt;
gt; gt;
gt; gt; then typed:
gt; gt;
gt; gt;
gt; gt;
gt; gt; $ ssh localhost
gt; gt;
gt; gt; so it didn't want me to enter a password. I started:
gt; gt;
gt; gt; $ /bin/start-all.sh
gt; gt;
gt; gt; But nothing changed :(
gt; gt;
gt; gt; - Özgün İleti -
gt; gt; Kimden : core-user@hadoop.apache.org
gt; gt; Kime : core-user@hadoop.apache.org
gt; gt; Gönderme tarihi : 12/04/2009 21:33
gt; gt; Konu : Re: Ynt: Re: Cannot access Jobtracker and namenode
gt; gt; There are two commands in hadoop quick start, used for
passwordless
gt; ssh.
gt; gt; Try those.
gt; gt;
gt; gt; $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
gt; gt; $ cat ~/.ssh/id_dsa.pub gt;gt; ~/.ssh/authorized_keys
gt; gt;
gt; gt; http://hadoop.apache.org/core/docs/current/quickstart.html
gt; gt;
gt; gt; --
gt; gt; M. Raşit ÖZDAŞ
gt; gt;
gt; gt; Halil İbrahim ÇAKIR
gt; gt;
gt; gt; Dumlupınar Üniversitesi Bilgisayar Mühendisliği
gt; gt;
gt; gt; http://cakirhal.blogspot.com
gt; gt;
gt; gt;
gt;
gt;
gt;
gt; --
gt; M. Raşit ÖZDAŞ
gt;
gt; Halil İbrahim ÇAKIR
gt;
gt; Dumlupınar Üniversitesi Bilgisayar Mühendisliği
gt;
gt; http://cakirhal.blogspot.com
gt;
gt;



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

Dumlupınar Üniversitesi Bilgisayar Mühendisliği 

http://cakirhal.blogspot.com 



Ynt: Re: Ynt: Re: Cannot access Jobtracker and namenode

2009-04-12 Thread halilibrahimcakir
I typed:

$ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
$ cat ~/.ssh/id_dsa.pub gt;gt; ~/.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 : core-user@hadoop.apache.org
Kime : core-user@hadoop.apache.org
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 gt;gt; ~/.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 



Re: Ynt: Re: Ynt: Re: Cannot access Jobtracker and namenode

2009-04-12 Thread Mithila Nagendra
You have to stop the cluster before you reformat. Also restarting the master
might help.
Mithila

2009/4/12 halilibrahimcakir halilibrahimca...@mynet.com

 I typed:

 $ ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa
 $ cat ~/.ssh/id_dsa.pub gt;gt; ~/.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 : core-user@hadoop.apache.org
 Kime : core-user@hadoop.apache.org
 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 gt;gt; ~/.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