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

Snapshot names should not be allowed to contain slash characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0-beta
    • 2.1.1-beta
    • snapshots
    • None
    • Reviewed

    Description

      Snapshots of a snapshottable directory are allowed to have arbitrary names. Presently, if you create a snapshot with a snapshot name that begins with a "/" character, this will be allowed, but later attempts to access this snapshot will fail because of the way the Path class deals with consecutive "/" characters. I suggest we disallow "/" from appearing in snapshot names.

      An example of this is in the first comment on this JIRA.

      Attachments

        1. HDFS-5102.001.patch
          6 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            atm Aaron Myers
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: