Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3094

add -nonInteractive and -force option to namenode -format command

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2, 2.0.0-alpha
    • Fix Version/s: 1.1.0, 2.0.0-alpha
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

        1. HDFS-3094.branch-1.0.patch
          13 kB
          Arpit Gupta
        2. HDFS-3094.branch-1.0.patch
          14 kB
          Arpit Gupta
        3. HDFS-3094.branch-1.0.patch
          14 kB
          Arpit Gupta
        4. HDFS-3094.branch-1.0.patch
          14 kB
          Arpit Gupta
        5. HDFS-3094.patch
          15 kB
          Arpit Gupta
        6. HDFS-3094.patch
          18 kB
          Arpit Gupta
        7. HDFS-3094.patch
          18 kB
          Arpit Gupta
        8. HDFS-3094.branch-1.0.patch
          14 kB
          Arpit Gupta
        9. HDFS-3094.branch-1.0.patch
          15 kB
          Arpit Gupta
        10. HDFS-3094.patch
          19 kB
          Arpit Gupta
        11. HDFS-3094.branch-1.0.patch
          15 kB
          Arpit Gupta
        12. HDFS-3094.patch
          20 kB
          Arpit Gupta
        13. HDFS-3094.branch-1.0.patch
          16 kB
          Arpit Gupta
        14. HDFS-3094.patch
          20 kB
          Arpit Gupta
        15. HDFS-3094.patch
          20 kB
          Arpit Gupta
        16. HDFS-3094.branch-1.0.patch
          16 kB
          Arpit Gupta
        17. HDFS-3094.branch-1.patch
          16 kB
          Arpit Gupta

          Issue Links

            Activity

              People

              • Assignee:
                arpitgupta Arpit Gupta
                Reporter:
                arpitgupta Arpit Gupta
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: