hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinodh Nagaraj <vinodh.db...@gmail.com>
Subject Name node files are creating different directory
Date Fri, 11 Mar 2016 05:53:52 GMT
Hi,

I configured hadoop 2.7.1 on windows 7 (32 bit ) in C Drive.

I tried to format using "*hdfs namenode -forma*t',name node files are
created at *C:\tmp\hadoop-user\dfs\name*.but  the property "C:\name" in
hdfs-site.xml .

*hdfs namenode -format*

-10.219.149.100-1457674982841
16/03/11 11:13:03 INFO common.Storage: Storage directory
\tmp\hadoop-487174\dfs\name has been successfully formatted.

core-site.xml

<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost/</value>
</property>
</configuration>

hdfs-site.xml

<configuration>
<property>
<name>fs.namenode.name.dir</name>
<value>C:\name</value>
</property>

<property>
<name>fs.datanode.data.dir</name>
<value>C:\data</value>
</property>

</configuration>

what is wrong in that?Please help me.

Thanks & Regards,
Vinodh.N

Mime
View raw message