Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0-alpha
-
None
-
-
Reviewed
Description
To reproduce:
- Configure a NameNode with namedirs and a shared edits dir, all of which are empty.
- Run hdfs namenode -format. Namedirs and shared edits dir gets populated.
- Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents.
- Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting.