hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nichole Treadway <kntread...@gmail.com>
Subject Re: NameNode is not formatted.
Date Mon, 28 Mar 2011 01:05:09 GMT
Try changing dfs.data.dir value to "/var/hadoop/dfs/data" and dfs.name.dir
to "/var/hadoop/dfs/name". Create this /var/hadoop/dfs directory with the
appropriate permissions. Re-format again and see if that helps.

On Fri, Mar 25, 2011 at 4:11 PM, Alessandro Binhara <binhara@gmail.com>wrote:

> 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