Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6696

Name node cannot start if the path of a file under construction contains ".snapshot"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      Using -renameReserved to rename ".snapshot" in a pre-hdfs-snapshot feature fsimage during upgrade only works, if there is nothing under construction under the renamed directory. I am not sure whether it takes care of edits containing ".snapshot" properly.

      The workaround is to identify these directories and rename, then do saveNamespace before performing upgrade.

      1. hdfs-6696.003.patch
        8 kB
        Andrew Wang
      2. hdfs-6696.002.patch
        12 kB
        Andrew Wang
      3. hdfs-6696.001.patch
        12 kB
        Andrew Wang

        Activity

          People

          • Assignee:
            Andrew Wang
            Reporter:
            Kihwal Lee
          • Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development