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

If dfs.name.dir points to an empty dir, namenode format shouldn't require confirmation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • namenode
    • None
    • Reviewed
    • If dfs.name.dir points to an empty dir, namenode -format no longer requires confirmation.

    Description

      Right now, running namenode -format when dfs.name.dir is configured to a dir which exists but is empty still asks for confirmation. This is unnecessary since it isn't blowing away any real data.

      Attachments

        1. HDFS-1636.r1.diff
          0.9 kB
          Harsh J
        2. HDFS-1636.r2.diff
          2 kB
          Harsh J
        3. HDFS-1636.r3.diff
          3 kB
          Harsh J

        Activity

          People

            qwertymaniac Harsh J
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: