NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread praveenesh kumar
Helloo.. My namenode is running with the following exceptions and going to safemode everytime its trying to start the datanodes.. why so ? I deleted all the files in the HDFS.. and ran it again..!! 2011-06-07 15:02:19,467 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: STARTUP_MSG:

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread Steve Loughran
On 06/07/2011 10:50 AM, praveenesh kumar wrote: The logs say The ratio of reported blocks 0.9091 has not reached the threshold 0.9990. Safe mode will be turned off automatically. not enough datanodes reported in, or they are missing data

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread praveenesh kumar
But I dnt have any data on my HDFS.. I was having some date before.. but now I deleted all the files from HDFS.. I dnt know why datanodes are taking time to start.. I guess because of this exception its taking more time to start. On Tue, Jun 7, 2011 at 3:34 PM, Steve Loughran ste...@apache.org

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread jagaran das
Check two things: 1. Some of your data node is getting connected, that means password less SSH is not working within nodes. 2. Then Clear the Dir where you data is persisted in data nodes and format the namenode. It should definitely work then Cheers, Jagaran

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread praveenesh kumar
1. Some of your data node is getting connected, that means password less SSH is not working within nodes. So you mean that passwordless SSH should be there among datanodes also. In hadoop we used to do password less SSH from namenode to data nodes Do we have to do passwordless ssh among

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread jagaran das
Sorry I mean Some of your data nodes are not getting connected From: jagaran das jagaran_...@yahoo.co.in To: common-user@hadoop.apache.org Sent: Tue, 7 June, 2011 10:45:59 AM Subject: Re: NameNode is starting with exceptions whenever its trying to start

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread praveenesh kumar
Sorry I mean Some of your data nodes are not getting connected.. So are you sticking with your solution that you are saying to me.. to go for passwordless ssh for all datanodes.. because for my hadoop.. all datanodes are running fine On Tue, Jun 7, 2011 at 11:32 PM, jagaran das

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread jagaran das
Yes Correct Password less SSH between your name node and some of your datanode is not working From: praveenesh kumar praveen...@gmail.com To: common-user@hadoop.apache.org Sent: Tue, 7 June, 2011 10:56:08 AM Subject: Re: NameNode is starting with exceptions

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread jagaran das
Cleaning data from data dir of datanode and formatting the name node may help you From: praveenesh kumar praveen...@gmail.com To: common-user@hadoop.apache.org Sent: Tue, 7 June, 2011 11:05:03 AM Subject: Re: NameNode is starting with exceptions whenever its

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread praveenesh kumar
Dude.. passwordless ssh between my namenode and datanode is working all fine...!!! My question is --- *Are you talking about passwordless ssh between datanodes * ** or *Are you talking about password less ssh between datanodes and namenode * ** Because if you are

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread praveenesh kumar
how shall I clean my data dir ??? Cleaning data dir .. u mean to say is deleting all files from hdfs ???.. is there any special command to clean all the datanodes in one step ??? On Tue, Jun 7, 2011 at 11:46 PM, jagaran das jagaran_...@yahoo.co.inwrote: Cleaning data from data dir of datanode

Re: NameNode is starting with exceptions whenever its trying to start datanodes

2011-06-07 Thread jagaran das
I mean removing rm -rf * in the datanode dir See this are debugging step that i followed From: praveenesh kumar praveen...@gmail.com To: common-user@hadoop.apache.org Sent: Tue, 7 June, 2011 11:19:50 AM Subject: Re: NameNode is starting with exceptions