Hi vinodh As properties are wrong, it is taken default properties..Correct like following..
fs.namenode.name.dir should be like dfs.namenode.name.dir, fs.datanode.data.dir should be like dfs.datanode.data.dir Reference: https://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml From: Vinodh Nagaraj [mailto:[email protected]] Sent: 11 March 2016 13:54 To: [email protected] Subject: Name node files are creating different directory Hi, I configured hadoop 2.7.1 on windows 7 (32 bit ) in C Drive. I tried to format using "hdfs namenode -format',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
