I was using Hadoop in a pseudo-distributed mode and everything was working fine. But then I had to restart my computer because of some reason. And now when I am trying to st
Add hadoop.tmp.dir property in core-site.xml
fs.defaultFS hdfs://localhost:9000 hadoop.tmp.dir /home/yourname/hadoop/tmp/hadoop-${user.name}
and format hdfs (hadoop 2.7.1):
$ hdfs namenode -format
The default value in core-default.xml is /tmp/hadoop-${user.name}, which will be deleted after reboot.