Hadoop Installation Issue - error while doing : hdfs namenode -format


1 Answer(s)


i think you have not set the temp directory as per the instructions check the slide 115-116 in the day1 pdf that abhishek sent us in email.(or video)

Configuring conf/*-site.xml files
•Need to set the hadoop.tmp.dir parameter
to a directory of your choice.
•We will use /app/hadoop/tmp
•sudo mkdir -p /app/hadoop/tmp
•sudo chmod 777 /app/hadoop/tmp

Configuring HDFS core-site.xml(Pseudo Distributed Mode)




hadoop.tmp.dir
/app/hadoop/tmp


fs.default.name
hdfs://localhost/


Note: