hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Reed (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-281) dfs.FSDirectory.mkdirs can create sub-directories of a file!
Date Mon, 28 Aug 2006 14:56:24 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-281?page=comments#action_12430987 ] 
Benjamin Reed commented on HADOOP-281:

Have we considered this to be a feature. Some newer general purpose file system allow a file
to also be a directory (and visa versa). It is an abstraction that nicely folds in the functionality
of streams and resource forks. For example, rather than sticking crcs and other attributes
for a file in the same directory as a file (which necessitates a bunch of ugly skip logic
in the code), we could simply put them in a subdirectory of the file.

> dfs.FSDirectory.mkdirs can create sub-directories of a file!
> ------------------------------------------------------------
>                 Key: HADOOP-281
>                 URL: http://issues.apache.org/jira/browse/HADOOP-281
>             Project: Hadoop
>          Issue Type: Bug
>    Affects Versions: 0.3.1
>            Reporter: Sameer Paranjpye
>         Assigned To: Wendy Chien
>             Fix For: 0.6.0
>         Attachments: addNode.patch, TestDFSMkdirs.java
> dfs.FSDirectory.mkdirs will merrily adds children to a directory tree node without checking
whether it represents a directory. So it is possible to create a subdirectories of a file.

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


View raw message