How about this thread? NameNode
Bellow is the command for format$ hadoop namenode -format $ hdfs namenode -formatFor Other commands follo the linkhttps://data-flair.training/blogs/top-hadoop-hdfs-commands-tutorial/
Bellow is the command for format
$ hadoop namenode -format
$ hdfs namenode -format
For Other commands follo the link
https://data-flair.training/blogs/top-hadoop-hdfs-commands-tutorial/