[ http://issues.apache.org/jira/browse/HADOOP-423?page=comments#action_12436672 ] Doug Cutting commented on HADOOP-423: -------------------------------------
I think, as a safeguard, we should probably also disallow "." and ".." as file or directory names at the namenode, throwing an exception for attempts to create directories or files with these names. While we're at it, should we also prohibit "/" and ":" in names? I think so. Currently it is impossible to create a Path with a slash in a name, although colons are permitted. > file paths are not normalized > ----------------------------- > > Key: HADOOP-423 > URL: http://issues.apache.org/jira/browse/HADOOP-423 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.4.0 > Reporter: Christian Kunz > Assigned To: Wendy Chien > Attachments: pathnorm.patch > > > Paths containing '.' or '..' are not normalized -- the corresponding > directories actually seem to be created. This is inconsistent and unexpected > behavior, and is particularly painful when running from a working directory, > using relative paths that start with ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
