Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.20.1, 0.20.2, 0.21.0, 0.23.0
-
None
-
None
Description
Currently NameNode allows format command while it running. In this case the command is executed partially (Lock file is deleted) and an exception thrown. Because of this Name Node should be formatted after restart. This sort of cases can happen accidentally. To prevent such cases Name Node should not execute the format command partially while it is running. It can stright away throw exception/log saying, Name Node is running.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-2877 If locking of a storage dir fails, it will remove the other NN's lock file on exit
- Closed