Details
Description
Support for disabling NameNode format to avoid accidental formatting of Namenode in production cluster. If someone really wants to delete the complete fsImage, they can first delete the metadata dir and then run
hdfs namenode -format
manually.