I have setup a single node hadoop in my VM. While doing so, before starting all the daemons, I had run the command to format the namenode:
bin/hadoop namenode -format
Now, I want to know what exactly happens in hadoop namenode formatting. Basically, I would like to know why this step is requirement during hadoop installation.