In the previous video, we were able to run Hadoop daemons except Namenode. In this video, you will learn how to run Namenode along with other Hadoop daemons.
First of all, you need to go to the hdfs-site.xml in the etc folder inside the Hadoop directory. Check the configuration and the path to the namenode folder. Make sure that the path exists. Otherwise, go ahead and create the path.
After everything is done, make sure you stop Hadoop if it was running. Then, run "hadoop namenode -format" command. It should resolve it. Go ahead and start Hadoop again to confirm.