Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3275

Format command overwrites contents of non-empty shared edits dir if name dirs are empty without any prompting

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.0-alpha, 3.0.0
    • Component/s: ha, namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Target Version/s:

      Description

      To reproduce:

      1. Configure a NameNode with namedirs and a shared edits dir, all of which are empty.
      2. Run hdfs namenode -format. Namedirs and shared edits dir gets populated.
      3. Delete the contents of the namedirs. Leave the shared edits dir as is. Check the timestamps of the shared edits dir contents.
      4. Run format again. The namedirs as well as the shared edits dir get formatted. The shared edits dir's contents have been replaced without any prompting.
      1. HDFS-3275-4.patch
        6 kB
        Uma Maheswara Rao G
      2. HDFS-3275_3.patch
        6 kB
        amith
      3. HDFS-3275_2.patch
        6 kB
        amith
      4. HDFS-3275_2.patch
        6 kB
        amith
      5. HDFS-3275_1.patch
        6 kB
        Uma Maheswara Rao G
      6. HDFS-3275_1.patch
        6 kB
        amith
      7. HDFS-3275.patch
        5 kB
        amith

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            amith
            Reporter:
            Vinithra Varadharajan
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development