hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Binhara <binh...@gmail.com>
Subject NameNode is not formatted.
Date Fri, 25 Mar 2011 20:11:28 GMT
Helo ... all...


I chance in hdfs-site.xml data dir , like this :

<property>
  <name>dfs.name.dir</name>
  <value>/var/hadoop/</value>
 </property>

<property>
  <name>dfs.data.dir</name>
  <value>/var/hadoop/</value>
 </property>

i try format a hdfs with
 su -s /bin/bash - hdfs -c 'hadoop namenode -format'

wel.. it ask if i would like RE Format a hdfs :
-->>> Re-format filesystem in /var/hadoop ? (Y or N)

I sad YES... but not happing .
I see a permission dir on /var/hadoop
drwxrwxrwx  2 root root  4096 2011-03-25 20:05 hadoop

Then a try run a name-node and i receive a message :

java.io.IOException: NameNode is not formatted.


Whats happen ???

thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message