You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by kawther khazri <nu...@yahoo.fr> on 2006/08/10 10:39:21 UTC

problems with start-all command

    [input]   [input]   [input]   [input]                                            hello,
we are trying to install nutch in single machine using this guide:
"http://wiki.apache.org/nutch/NutchHadoopTutorial?highlight=%28nutch%29", 
we are blocked in this step:
   *first we execute this command as root
[root@localhost search]# bin/start-all.sh
namenode running as process 16323. Stop it first.
root@localhost's password:
localhost: starting datanode, logging to /nutch/search/logs/hadoop-root-datanode-localhost.localdomain.out
starting jobtracker, logging to /nutch/search/logs/hadoop-root-jobtracker-localhost.localdomain.out
root@localhost's password:
localhost: tasktracker running as process 16448. Stop it first.

   *second we execute it in a normal user's session:nutch
[nutch@localhost search]$ bin/start-all.sh
starting namenode, logging to /nutch/search/logs/hadoop-nutch-namenode-localhost.localdomain.out
The authenticity of host 'localhost (127.0.0.1)' can't be established.
RSA key  fingerprint is 9e:56:da:f3:72:dc:1a:91:5d:78:89:ce:89:04:3d:d3.
Are you sure you want to continue connecting (yes/no)? yes
localhost: Failed to add the host to the list of known hosts (/nutch/home/.ssh/known_hosts).
Enter passphrase for key '/nutch/home/.ssh/id_rsa':
nutch@localhost's password:
localhost: starting datanode, logging to /nutch/search/logs/hadoop-nutch-datanode-localhost.localdomain.out
starting jobtracker, logging to /nutch/search/logs/hadoop-nutch-jobtracker-localhost.localdomain.out
The authenticity of host 'localhost (127.0.0.1)' can't be established.
RSA key fingerprint is 9e:56:da:f3:72:dc:1a:91:5d:78:89:ce:89:04:3d:d3.
Are you sure you want to continue connecting (yes/no)? yes
localhost: Failed to add the host to the list of known hosts (/nutch/home/.ssh/known_hosts).
Enter passphrase for key '/nutch/home/.ssh/id_rsa':
nutch@localhost's password:
localhost: starting tasktracker, logging to  /nutch/search/logs/hadoop-nutch-tasktracker-localhost.localdomain.out

what is the différence between the two. what's the meaning this message:"namenode running as process 16323. Stop it first." Is it normal to obtain this. I don't know the cause of this error.
Please, If you have any idea,help me.
BEST REGARDS, 
 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 

RE : Re: problems with start-all command

Posted by kawther khazri <nu...@yahoo.fr>.
thank you verry mutch for your help.

Dennis Kubes <nu...@dragonflymc.com> a écrit :  The name node is running. Run the bin/stop-all.sh script first and then 
do a ps -ef | grep NameNode to see if the process is still running. If 
it is, it may need to be killed by hand kill -9 processid.
The second problem is the setup of ssh keys as described in previous 
email. Also I would recommend NOT running the namenode as root but in 
having a specific user setup to run the various servers as described in 
the tutorial.

Dennis

kawther khazri wrote:
> [input] [input] [input] [input] hello,
> we are trying to install nutch in single machine using this guide:
> "http://wiki.apache.org/nutch/NutchHadoopTutorial?highlight=%28nutch%29", 
> we are blocked in this step:
> *first we execute this command as root
> [root@localhost search]# bin/start-all.sh
> namenode running as process 16323. Stop it first.
> root@localhost's password:
> localhost: starting datanode, logging to /nutch/search/logs/hadoop-root-datanode-localhost.localdomain.out
> starting jobtracker, logging to /nutch/search/logs/hadoop-root-jobtracker-localhost.localdomain.out
> root@localhost's password:
> localhost: tasktracker running as process 16448. Stop it first.
>
> *second we execute it in a normal user's session:nutch
> [nutch@localhost search]$ bin/start-all.sh
> starting namenode, logging to /nutch/search/logs/hadoop-nutch-namenode-localhost.localdomain.out
> The authenticity of host 'localhost (127.0.0.1)' can't be established.
> RSA key fingerprint is 9e:56:da:f3:72:dc:1a:91:5d:78:89:ce:89:04:3d:d3.
> Are you sure you want to continue connecting (yes/no)? yes
> localhost: Failed to add the host to the list of known hosts (/nutch/home/.ssh/known_hosts).
> Enter passphrase for key '/nutch/home/.ssh/id_rsa':
> nutch@localhost's password:
> localhost: starting datanode, logging to /nutch/search/logs/hadoop-nutch-datanode-localhost.localdomain.out
> starting jobtracker, logging to /nutch/search/logs/hadoop-nutch-jobtracker-localhost.localdomain.out
> The authenticity of host 'localhost (127.0.0.1)' can't be established.
> RSA key fingerprint is 9e:56:da:f3:72:dc:1a:91:5d:78:89:ce:89:04:3d:d3.
> Are you sure you want to continue connecting (yes/no)? yes
> localhost: Failed to add the host to the list of known hosts (/nutch/home/.ssh/known_hosts).
> Enter passphrase for key '/nutch/home/.ssh/id_rsa':
> nutch@localhost's password:
> localhost: starting tasktracker, logging to /nutch/search/logs/hadoop-nutch-tasktracker-localhost.localdomain.out
>
> what is the différence between the two. what's the meaning this message:"namenode running as process 16323. Stop it first." Is it normal to obtain this. I don't know the cause of this error.
> Please, If you have any idea,help me.
> BEST REGARDS, 
> 
> ---------------------------------
> Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 
> 


 		
---------------------------------
 Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 

Re: problems with start-all command

Posted by Dennis Kubes <nu...@dragonflymc.com>.
The name node is running.  Run the bin/stop-all.sh script first and then 
do a ps -ef | grep NameNode to see if the process is still running.  If 
it is, it may need to be killed by hand kill -9 processid.
The second problem is the setup of ssh keys as described in previous 
email.  Also I would recommend NOT running the namenode as root but in 
having a specific user setup to run the various servers as described in 
the tutorial.

Dennis

kawther khazri wrote:
>     [input]   [input]   [input]   [input]                                            hello,
> we are trying to install nutch in single machine using this guide:
> "http://wiki.apache.org/nutch/NutchHadoopTutorial?highlight=%28nutch%29", 
> we are blocked in this step:
>    *first we execute this command as root
> [root@localhost search]# bin/start-all.sh
> namenode running as process 16323. Stop it first.
> root@localhost's password:
> localhost: starting datanode, logging to /nutch/search/logs/hadoop-root-datanode-localhost.localdomain.out
> starting jobtracker, logging to /nutch/search/logs/hadoop-root-jobtracker-localhost.localdomain.out
> root@localhost's password:
> localhost: tasktracker running as process 16448. Stop it first.
>
>    *second we execute it in a normal user's session:nutch
> [nutch@localhost search]$ bin/start-all.sh
> starting namenode, logging to /nutch/search/logs/hadoop-nutch-namenode-localhost.localdomain.out
> The authenticity of host 'localhost (127.0.0.1)' can't be established.
> RSA key  fingerprint is 9e:56:da:f3:72:dc:1a:91:5d:78:89:ce:89:04:3d:d3.
> Are you sure you want to continue connecting (yes/no)? yes
> localhost: Failed to add the host to the list of known hosts (/nutch/home/.ssh/known_hosts).
> Enter passphrase for key '/nutch/home/.ssh/id_rsa':
> nutch@localhost's password:
> localhost: starting datanode, logging to /nutch/search/logs/hadoop-nutch-datanode-localhost.localdomain.out
> starting jobtracker, logging to /nutch/search/logs/hadoop-nutch-jobtracker-localhost.localdomain.out
> The authenticity of host 'localhost (127.0.0.1)' can't be established.
> RSA key fingerprint is 9e:56:da:f3:72:dc:1a:91:5d:78:89:ce:89:04:3d:d3.
> Are you sure you want to continue connecting (yes/no)? yes
> localhost: Failed to add the host to the list of known hosts (/nutch/home/.ssh/known_hosts).
> Enter passphrase for key '/nutch/home/.ssh/id_rsa':
> nutch@localhost's password:
> localhost: starting tasktracker, logging to  /nutch/search/logs/hadoop-nutch-tasktracker-localhost.localdomain.out
>
> what is the différence between the two. what's the meaning this message:"namenode running as process 16323. Stop it first." Is it normal to obtain this. I don't know the cause of this error.
> Please, If you have any idea,help me.
> BEST REGARDS, 
>  		
> ---------------------------------
>  Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. Cliquez ici. 
>