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

Steve Loughran updated HDFS-12101:
----------------------------------
    Fix Version/s: 3.3.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> DFSClient.rename() to unwrap ParentNotDirectoryException; define policy for 
> renames under a file
> ------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-12101
>                 URL: https://issues.apache.org/jira/browse/HDFS-12101
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.8.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: HADOOP-14630-001.patch, HADOOP-14630-002.patch
>
>
> HADOOP-14630 adds some contract tests trying to create files or rename files 
> *under other files*.
> On a rename under an existing file (or dir under an existing file), HDFS 
> fails throwing 
> {{org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.fs.ParentNotDirectoryException)}}.
>  
> # is throwing an exception here what people agree is the correct behaviour? 
> If so, it can go into the filesystem spec, tests set up to expect it. object 
> stores tweaked for consistency. If not, HDFS needs a change.
> # At the very least, HDFS should be unwrapping the exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to