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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None

    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.

      Attachments

        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

            andrew.wang Andrew Wang
            kihwal Kihwal Lee
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: