Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> “hadoop namenode -format” formats wrong directory

Copy link to this message
Re: “hadoop namenode -format” formats wrong directory
you can try to use the new parameter "dfs.namenode.name.dir" to
specify the directory.

2013/2/6, Andrey V. Romanchev <[EMAIL PROTECTED]>:
> Hello!
> I'm trying to install Hadoop 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?