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 



Cannot access Jobtracker and namenode

2009-04-12 Thread halilibrahimcakir

Hi

I am new at hadoop. I downloaded Hadoop-0.19.0 and followed the
instructions in the quick start
manual(http://hadoop.apache.org/core/docs/r0.19.1/quickstart.html). When I
came to Pseudo-Distributed Operation section there was no problem but
localhost:50070 and localhost:50030 couldn't be opened. It says localhost
reffused the connection. I tried this in another machine, but it says
like Http Error 404: /dfshealth.jsp  How can I see these pages and
continue using hadoop? Thanks.

Additional Information: 

OS: Debian 5.0 (latest version)
JDK: Sun-Java 1.6 (latest version)
 rsync and ssh installed
edited hadoop-site-xml properly

Halil İbrahim ÇAKIR

Dumlupınar Üniversitesi Bilgisayar Mühendisliği 

http://cakirhal.blogspot.com 



Ynt: Re: Cannot access Jobtracker and namenode

2009-04-12 Thread halilibrahimcakir

Yes, usually when I type ssh localhost in terminal. 


- Özgün İleti -
Kimden : core-user@hadoop.apache.org
Kime : core-user@hadoop.apache.org
Gönderme tarihi : 12/04/2009 20:58
Konu : Re: Cannot access Jobtracker and namenode
Does your system request a password when you ssh to localhost outside
hadoop?

12 Nisan 2009 Pazar 20:51 tarihinde halilibrahimcakir
lt;halilibrahimca...@mynet.comgt;
yazdı:
gt;
gt; Hi
gt;
gt; I am new at hadoop. I downloaded Hadoop-0.19.0 and followed the
gt; instructions in the quick start
gt; manual(http://hadoop.apache.org/core/docs/r0.19.1/quickstart.html).
When I
gt; came to Pseudo-Distributed Operation section there was no problem
but
gt; localhost:50070 and localhost:50030 couldn't be opened. It says
localhost
gt; reffused the connection. I tried this in another machine, but it
says
gt; like Http Error 404: /dfshealth.jsp  How can I see these pages
and
gt; continue using hadoop? Thanks.
gt;
gt; Additional Information:
gt;
gt; OS: Debian 5.0 (latest version)
gt; JDK: Sun-Java 1.6 (latest version)
gt; Ânbsp;rsync and ssh installed
gt; edited hadoop-site-xml properly
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