Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2802 Support for RW/RO snapshots in HDFS
  3. HDFS-4666

Disallow users to create file/dir named ".snapshot"

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Snapshot (HDFS-2802)
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      This is an INCOMPATIBLE CHANGE: ".snapshot" becomes a reserved inode name so that users cannot create a file/directory with ".snapshot" as the name. If ".snapshot" is used in a previous version of HDFS, it must be renamed before upgrade; otherwise, upgrade will fail.
      Show
      This is an INCOMPATIBLE CHANGE: ".snapshot" becomes a reserved inode name so that users cannot create a file/directory with ".snapshot" as the name. If ".snapshot" is used in a previous version of HDFS, it must be renamed before upgrade; otherwise, upgrade will fail.

      Description

      Currently ".snapshot" is reserved by snapshots as a special tag to specify the path leading to snapshot copies. We should disallow users to create file/dir using name ".snapshot".

        Attachments

        1. editsStored
          4 kB
          Tsz-wo Sze
        2. h4666_20130415.patch
          50 kB
          Tsz-wo Sze
        3. h4666_20130413b.patch
          49 kB
          Tsz-wo Sze
        4. h4666_20130413.patch
          48 kB
          Tsz-wo Sze

          Issue Links

            Activity

              People

              • Assignee:
                szetszwo Tsz-wo Sze
                Reporter:
                jingzhao Jing Zhao
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: