Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.2, 2.0.0-alpha
-
None
-
None
-
Reviewed
-
The 'namenode -format' command now supports the flags '-nonInteractive' and '-force' to improve usefulness without user input.
Description
Currently the bin/hadoop namenode -format prompts the user for a Y/N to setup the directories in the local file system.
-force : namenode formats the directories without prompting
-nonInterActive : namenode format will return with an exit code of 1 if the dir exists.
Attachments
Attachments
Issue Links
- duplicates
-
HDFS-2247 Provide a "-y" option that skips the confirmation question of the namenode for use in scripts.
- Resolved
- is depended upon by
-
HADOOP-8185 Update namenode -format documentation and add -nonInteractive and -force
- Closed