hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Chansler (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6229) Atempt to make a directory under an existing file on LocalFileSystem should throw an Exception.
Date Fri, 09 Oct 2009 04:11:31 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Chansler updated HADOOP-6229:
------------------------------------

    Release Note:   (was: New behavior:
if mkdirs(p) argument's parent is an existing file the method will throw FileAlreadyExistsException.
if mkdirs(p) argument is null it will throw IllegalArgumentException)

Editorial pass over all release notes prior to publication of 0.21. Bug.

> Atempt to make a directory under an existing file on LocalFileSystem should throw an
Exception.
> -----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6229
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6229
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6229-1.patch, HADOOP-6229-2.patch, HADOOP-6229-2.patch, HADOOP-6229.patch
>
>
> This task is sub task of HDFS-303
> {quote}
>  "1. When trying to make a directory under an existing file, HDFS throws an IOException
while LocalFileSystem doesn't.
>  An IOException seems good here. "
> {quote}
> Actually HDFS throws FileNotFoundException in this case (in FSDirectory.mkdirs() ). So
I guess we should do the same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message