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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: