[ https://issues.apache.org/jira/browse/HDFS-12101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran updated HDFS-12101: ---------------------------------- Attachment: HADOOP-14630-001.patch > 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 > Attachments: HADOOP-14630-001.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 (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org