hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhishek <abhishek.dod...@gmail.com>
Subject Re: namenode not in tmp, doesn't start
Date Fri, 12 Oct 2012 14:48:02 GMT
Hi Vinutha,

Your name node is not formatted.

Did you try this

Hadoop namenode -format

What are permissions on your

dfs.name.dir directory ?

Regards
Abhi





Sent from my iPhone

On Oct 12, 2012, at 3:30 AM, Vinutha Magal Shreenath <vinutha_ms@yahoo.com> wrote:

> Hello,
> 
> I'm just starting out with Hadoop. 
> As generally advised, I configured namenode to a directory other than /tmp.
> When I do this, and try start-all.sh, I get the exception below. 
> Formatting namenode does not help.
> Any suggestions?
> 
> Thanks in advance. 
> 
> Regards,
> Vinutha
> 
> 2012-10-12 12:40:23,530 ERROR org.apache.hadoop.hdfs.server.namenode.FSNamesystem: FSNamesystem
initialization failed.
> java.io.IOException: NameNode is not formatted.
> 	at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:330)
> 	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:100)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:388)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:362)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:276)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:496)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1288)
> 2012-10-12 12:40:23,531 ERROR org.apache.hadoop.hdfs.server.namenode.NameNode: java.io.IOException:
NameNode is not formatted.
> 	at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:330)
> 	at org.apache.hadoop.hdfs.server.namenode.FSDirectory.loadFSImage(FSDirectory.java:100)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initialize(FSNamesystem.java:388)
> 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:362)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:276)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:496)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1279)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1288)
> 

Mime
View raw message