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

Add an option to disallow 'namenode format -force'

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 2.8.3, 2.7.5, 3.0.0, 3.1.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Support for disabling NameNode format to avoid accidental formatting of Namenode in production cluster. If someone really wants to delete the complete fsImage, they can first delete the metadata dir and then run

       hdfs namenode -format

      manually.

        Attachments

        1. HDFS-12420.01.patch
          2 kB
          Ajay Kumar
        2. HDFS-12420.02.patch
          7 kB
          Ajay Kumar
        3. HDFS-12420.03.patch
          12 kB
          Ajay Kumar
        4. HDFS-12420.04.patch
          11 kB
          Ajay Kumar
        5. HDFS-12420.05.patch
          11 kB
          Ajay Kumar
        6. HDFS-12420.06.patch
          9 kB
          Ajay Kumar
        7. HDFS-12420.07.patch
          11 kB
          Ajay Kumar
        8. HDFS-12420.08.patch
          11 kB
          Ajay Kumar
        9. HDFS-12420.09.patch
          9 kB
          Ajay Kumar
        10. HDFS-12420.10.patch
          9 kB
          Ajay Kumar
        11. HDFS-12420.11.patch
          9 kB
          Ajay Kumar
        12. HDFS-12420.12.patch
          9 kB
          Ajay Kumar

          Activity

            People

            • Assignee:
              ajayydv Ajay Kumar
              Reporter:
              ajayydv Ajay Kumar
            • Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: