Currently, if you configure the NameNode to run with just one dfs.namenode.name.dir directory, it prints:
We can improve this in a few ways as it is slightly ambiguous:
- Fix punctuation spacing, there's always a space after a punctuation mark but never before one.
- Perhaps the message is better printed with a reason of why it may cause a scare of data loss. For instance, we can print "Detected a single storage directory in dfs.namenode.name.dir configuration. Beware of dataloss due to lack of redundant storage directories" or so.