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

Add an option to disallow 'namenode format -force'

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 2.8.3, 2.7.5, 3.0.0, 3.1.0
    • None
    • None
    • 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.12.patch
          9 kB
          Ajay Kumar
        2. HDFS-12420.11.patch
          9 kB
          Ajay Kumar
        3. HDFS-12420.10.patch
          9 kB
          Ajay Kumar
        4. HDFS-12420.09.patch
          9 kB
          Ajay Kumar
        5. HDFS-12420.08.patch
          11 kB
          Ajay Kumar
        6. HDFS-12420.07.patch
          11 kB
          Ajay Kumar
        7. HDFS-12420.06.patch
          9 kB
          Ajay Kumar
        8. HDFS-12420.05.patch
          11 kB
          Ajay Kumar
        9. HDFS-12420.04.patch
          11 kB
          Ajay Kumar
        10. HDFS-12420.03.patch
          12 kB
          Ajay Kumar
        11. HDFS-12420.02.patch
          7 kB
          Ajay Kumar
        12. HDFS-12420.01.patch
          2 kB
          Ajay Kumar

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: