hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey V. Romanchev" <andrey.romanc...@gmail.com>
Subject Re: “hadoop namenode -format” formats wrong directory
Date Wed, 06 Feb 2013 15:24:28 GMT
Added to hdfs-site.xml
  <property>
    <name>dfs.namenode.name.dir</name>
    <value>/mnt/ext/hadoop/hdfs/namenode</value>
    <final>true</final>
  </property>

The same problem exists :(


2013/2/6 Yanbo Liang <yanbohappy@gmail.com>

> you can try to use the new parameter "dfs.namenode.name.dir" to
> specify the directory.
>
> 2013/2/6, Andrey V. Romanchev <andrey.romanchev@gmail.com>:
> > Hello!
> >
> > I'm trying to install Hadoop 1.1.2.21 on CentOS 6.3.
> >
> > I've configured dfs.name.dir in /etc/hadoop/conf/hdfs-site.xml file
> >
> > <name>dfs.name.dir</name>
> > <value>/mnt/ext/hadoop/hdfs/namenode</value>
> >
> > But when I run "hadoop namenode -format" command, it formats
> > /tmp/hadoop-hadoop/dfs/name directory instead. It seems like default
> > directory.
> >
> > What am I missing?
> >
>

Mime
View raw message