Hello Adarsh,
On Thu, Apr 28, 2011 at 11:02 AM, Adarsh Sharma
<[email protected]> wrote:
> After correcting my mistake , when I try to run with the hadoop user, my
> Namenode fails with the below exception\ :
> 2011-04-28 10:53:49,608 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:317)
Do you still have the valid contents in your good ${dfs.name.dir}? You
should be able to recover with that.
--
Harsh J