If both the NameNode and the secondary NameNode were to suddenly go offline, you can restore the NameNode.
name.dir
/dfs/nn/current
VERSION
fsimage
md5sum fsimage > fsimage.md5