hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Chien (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-423) file paths are not normalized
Date Thu, 07 Sep 2006 00:56:23 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-423?page=comments#action_12433008 ] 
            
Wendy Chien commented on HADOOP-423:
------------------------------------

To fix this, we'll detect and normalize relative paths in the Path class.  For backwards compatibility,
we'll allow people to rename or remove existing files/dirs that contain '.' or '..' .  Or
do people think that's not necessary because it's unlikely anyone has been using '.' and '..'
in their paths intentionally?  (Though I suppose if they did unintentionally, it might be
nice to let them remove them.)
      

> 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
>             Fix For: 0.6.0
>
>
> 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

        

Mime
View raw message