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 Improvement
    • Status: Resolved
    • Priority: Minor 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.

      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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development