Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 767B010EEE for ; Thu, 15 Aug 2013 21:20:05 +0000 (UTC) Received: (qmail 63954 invoked by uid 500); 15 Aug 2013 21:19:59 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 63815 invoked by uid 500); 15 Aug 2013 21:19:51 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 63788 invoked by uid 99); 15 Aug 2013 21:19:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 21:19:51 +0000 Date: Thu, 15 Aug 2013 21:19:51 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-5102) Snapshot names should not be allowed to contain slash characters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Aaron T. Myers created HDFS-5102: ------------------------------------ Summary: Snapshot names should not be allowed to contain slash characters Key: HDFS-5102 URL: https://issues.apache.org/jira/browse/HDFS-5102 Project: Hadoop HDFS Issue Type: Bug Components: snapshots Affects Versions: 2.1.0-beta Reporter: Aaron T. Myers 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira