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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Snapshot (HDFS-2802)
    • namenode
    • None
    • Incompatible change, Reviewed
    • 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_20130413.patch
          48 kB
          Tsz-wo Sze
        3. h4666_20130413b.patch
          49 kB
          Tsz-wo Sze
        4. h4666_20130415.patch
          50 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: