[
https://issues.apache.org/jira/browse/HDFS-6068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13923857#comment-13923857
]
Hadoop QA commented on HDFS-6068:
---------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12633368/HDFS-6068-0002.patch
against trunk revision .
{color:red}-1 patch{color}. The patch command could not apply the patch.
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/6342//console
This message is automatically generated.
> Disallow snapshot names that are also invalid directory names
> -------------------------------------------------------------
>
> Key: HDFS-6068
> URL: https://issues.apache.org/jira/browse/HDFS-6068
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: snapshots
> Affects Versions: 2.4.0
> Reporter: Andrew Wang
> Assignee: sathish
> Attachments: HDFS-6068-0001.patch, HDFS-6068-0002.patch
>
>
> There are a number of restrictions on valid names in HDFS. For example, you
> can't name a directory "." or "..", or something containing a ":".
> However, I can happily create a snapshot named "a:b:c", resulting in this:
> {code}
> -> % hdfs dfs -createSnapshot /home/andrew a:b:c
> Created snapshot /home/andrew/.snapshot/a:b:c
> -> % hadoop fs -ls /home/andrew/.snapshot
> -ls: java.net.URISyntaxException: Relative path in absolute URI: a:b:c
> Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [<path> ...]
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)